Package com.sun.enterprise.web.accesslog
Class CommonAccessLogFormatterImpl
- java.lang.Object
-
- com.sun.enterprise.web.accesslog.AccessLogFormatter
-
- com.sun.enterprise.web.accesslog.CommonAccessLogFormatterImpl
-
- Direct Known Subclasses:
CombinedAccessLogFormatterImpl
public class CommonAccessLogFormatterImpl extends AccessLogFormatter
Access log formatter using the common access log format from Apache.
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
NULL_VALUE
-
Fields inherited from class com.sun.enterprise.web.accesslog.AccessLogFormatter
dayFormatter, monthFormatter, needTimeTaken, SPACE, timeFormatter, timeZone, tz, yearFormatter
-
-
Constructor Summary
Constructors Constructor Description CommonAccessLogFormatterImpl()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendLogEntry(Request request, Response response, CharBuffer charBuffer)
Appends an access log entry line, with info obtained from the given request and response objects, to the given CharBuffer.-
Methods inherited from class com.sun.enterprise.web.accesslog.AccessLogFormatter
calculateTimeZoneOffset, getDate, lookup, needTimeTaken
-
-
-
-
Field Detail
-
NULL_VALUE
protected static final String NULL_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
appendLogEntry
public void appendLogEntry(Request request, Response response, CharBuffer charBuffer)
Appends an access log entry line, with info obtained from the given request and response objects, to the given CharBuffer.- Specified by:
appendLogEntry
in classAccessLogFormatter
- Parameters:
request
- The request object from which to obtain access log inforesponse
- The response object from which to obtain access log infocharBuffer
- The CharBuffer to which to append access log info
-
-