com.sun.enterprise.web.accesslog
Class DefaultAccessLogFormatterImpl

java.lang.Object
  extended by com.sun.enterprise.web.accesslog.AccessLogFormatter
      extended by 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, months, needTimeTaken, SPACE, timeFormatter, timeZone, tz, yearFormatter
 
Constructor Summary
DefaultAccessLogFormatterImpl(java.lang.String pattern, Container container)
          Constructor.
 
Method Summary
 void appendLogEntry(Request request, Response response, java.nio.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAccessLogFormatterImpl

public DefaultAccessLogFormatterImpl(java.lang.String pattern,
                                     Container container)
Constructor.

Parameters:
pattern - The access log pattern
container - The container associated with the access log valve
Method Detail

appendLogEntry

public void appendLogEntry(Request request,
                           Response response,
                           java.nio.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 class AccessLogFormatter
Parameters:
request - The request object from which to obtain access log info
response - The response object from which to obtain access log info
charBuffer - The CharBuffer to which to append access log info


Copyright © 2012 GlassFish Community. All Rights Reserved.