Package org.apache.catalina.valves
Class AbstractAccessLogValve.ByteSentElement
java.lang.Object
org.apache.catalina.valves.AbstractAccessLogValve.ByteSentElement
- All Implemented Interfaces:
AbstractAccessLogValve.AccessLogElement
- Enclosing class:
- AbstractAccessLogValve
protected static class AbstractAccessLogValve.ByteSentElement
extends Object
implements AbstractAccessLogValve.AccessLogElement
write bytes sent, excluding HTTP headers - %b, %B
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addElement
(CharArrayWriter buf, Date date, Request request, Response response, long time)
-
Constructor Details
-
ByteSentElement
public ByteSentElement(boolean conversion) - Parameters:
conversion
-true
to write '-' instead of 0 - %b.
-
-
Method Details
-
addElement
public void addElement(CharArrayWriter buf, Date date, Request request, Response response, long time) - Specified by:
addElement
in interfaceAbstractAccessLogValve.AccessLogElement
-