public class DefaultAccessLogFormatterImpl extends AccessLogFormatter
dayFormatter, monthFormatter, needTimeTaken, SPACE, timeFormatter, timeZone, tz, yearFormatter
Constructor and Description |
---|
DefaultAccessLogFormatterImpl(String pattern,
Container container)
Constructor.
|
Modifier and Type | Method and 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.
|
calculateTimeZoneOffset, getDate, lookup, needTimeTaken
public void appendLogEntry(Request request, Response response, CharBuffer charBuffer)
appendLogEntry
in class AccessLogFormatter
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 infoCopyright © 2021. All rights reserved.