org.apache.catalina.valves
Class AccessLogValve.ElapsedTimeElement
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
addElement
public void addElement(StringBuilder buf,
Date date,
Request request,
Response response,
long time)
- Specified by:
addElement
in interface AccessLogValve.AccessLogElement
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.