Class ExtendedAccessLogValve.ResponseHeaderElement
java.lang.Object
org.apache.catalina.valves.ExtendedAccessLogValve.ResponseHeaderElement
- All Implemented Interfaces:
AbstractAccessLogValve.AccessLogElement
- Enclosing class:
ExtendedAccessLogValve
protected static class ExtendedAccessLogValve.ResponseHeaderElement
extends Object
implements AbstractAccessLogValve.AccessLogElement
Log element that outputs a specific response header value.
-
Constructor Summary
ConstructorsConstructorDescriptionResponseHeaderElement(String header) Creates a new ResponseHeaderElement for the specified header. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElement(CharArrayWriter buf, Date date, Request request, Response response, long time)
-
Constructor Details
-
ResponseHeaderElement
Creates a new ResponseHeaderElement for the specified header.- Parameters:
header- the name of the response header
-
-
Method Details
-
addElement
public void addElement(CharArrayWriter buf, Date date, Request request, Response response, long time) - Specified by:
addElementin interfaceAbstractAccessLogValve.AccessLogElement
-