Apache Tomcat 6.0.39

org.apache.catalina.valves
Class AccessLogValve.ElapsedTimeElement

java.lang.Object
  extended by org.apache.catalina.valves.AccessLogValve.ElapsedTimeElement
All Implemented Interfaces:
AccessLogValve.AccessLogElement
Enclosing class:
AccessLogValve

protected class AccessLogValve.ElapsedTimeElement
extends java.lang.Object
implements AccessLogValve.AccessLogElement

write time taken to process the request - %D, %T


Constructor Summary
AccessLogValve.ElapsedTimeElement(boolean millis)
          if millis is true, write time in millis - %D if millis is false, write time in seconds - %T
 
Method Summary
 void addElement(java.lang.StringBuffer buf, java.util.Date date, Request request, Response response, long time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessLogValve.ElapsedTimeElement

public AccessLogValve.ElapsedTimeElement(boolean millis)
if millis is true, write time in millis - %D if millis is false, write time in seconds - %T

Method Detail

addElement

public void addElement(java.lang.StringBuffer buf,
                       java.util.Date date,
                       Request request,
                       Response response,
                       long time)
Specified by:
addElement in interface AccessLogValve.AccessLogElement

Apache Tomcat 6.0.39

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.