Package com.sun.enterprise.web.accesslog
Class DefaultAccessLogFormatterImpl
- java.lang.Object
-
- com.sun.enterprise.web.accesslog.AccessLogFormatter
-
- com.sun.enterprise.web.accesslog.DefaultAccessLogFormatterImpl
-
public class DefaultAccessLogFormatterImpl extends AccessLogFormatter
Access log formatter using the SJSAS format.
-
-
Field Summary
-
Fields inherited from class com.sun.enterprise.web.accesslog.AccessLogFormatter
dayFormatter, monthFormatter, needTimeTaken, SPACE, timeFormatter, timeZone, tz, yearFormatter
-
-
Constructor Summary
Constructors Constructor Description DefaultAccessLogFormatterImpl(String pattern, Container container)
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
-
-
-
-
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
-
-