Apache Tomcat 7.0.37

org.apache.catalina.valves
Class AccessLogValve.DateAndTimeElement

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

protected class AccessLogValve.DateAndTimeElement
extends Object
implements AccessLogValve.AccessLogElement

write date and time, in configurable format (default CLF) - %t or %t{format}


Constructor Summary
protected AccessLogValve.DateAndTimeElement()
           
protected AccessLogValve.DateAndTimeElement(String header)
           
 
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.DateAndTimeElement

protected AccessLogValve.DateAndTimeElement()

AccessLogValve.DateAndTimeElement

protected AccessLogValve.DateAndTimeElement(String header)
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.37

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