Package org.apache.catalina.valves
Class AbstractAccessLogValve.PortElement
- java.lang.Object
-
- org.apache.catalina.valves.AbstractAccessLogValve.PortElement
-
- All Implemented Interfaces:
AbstractAccessLogValve.AccessLogElement
,AbstractAccessLogValve.CachedElement
- Enclosing class:
- AbstractAccessLogValve
protected class AbstractAccessLogValve.PortElement extends java.lang.Object implements AbstractAccessLogValve.AccessLogElement, AbstractAccessLogValve.CachedElement
write local or remote port for request connection - %p and %{xxx}p
-
-
Constructor Summary
Constructors Constructor Description PortElement()
PortElement(java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addElement(java.io.CharArrayWriter buf, java.util.Date date, Request request, Response response, long time)
void
cache(Request request)
-
-
-
Method Detail
-
addElement
public void addElement(java.io.CharArrayWriter buf, java.util.Date date, Request request, Response response, long time)
- Specified by:
addElement
in interfaceAbstractAccessLogValve.AccessLogElement
-
cache
public void cache(Request request)
- Specified by:
cache
in interfaceAbstractAccessLogValve.CachedElement
-
-