Apache Tomcat 7.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 static class AccessLogValve.ElapsedTimeElement
extends 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(StringBuilder buf, 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(StringBuilder buf,
                       Date date,
                       Request request,
                       Response response,
                       long time)
Specified by:
addElement in interface AccessLogValve.AccessLogElement

Apache Tomcat 7.0.39

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