Package org.apache.catalina.valves
Class AbstractAccessLogValve.RemoteAddrElement
- java.lang.Object
-
- org.apache.catalina.valves.AbstractAccessLogValve.RemoteAddrElement
-
- All Implemented Interfaces:
AbstractAccessLogValve.AccessLogElement
,AbstractAccessLogValve.CachedElement
- Enclosing class:
- AbstractAccessLogValve
protected class AbstractAccessLogValve.RemoteAddrElement extends java.lang.Object implements AbstractAccessLogValve.AccessLogElement, AbstractAccessLogValve.CachedElement
write remote IP address - %a
-
-
Constructor Summary
Constructors Constructor Description RemoteAddrElement()
RemoteAddrElement(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
-
-