com.sun.enterprise.web.accesslog
Class CommonAccessLogFormatterImpl

java.lang.Object
  extended by com.sun.enterprise.web.accesslog.AccessLogFormatter
      extended by 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
protected static java.lang.String NULL_VALUE
           
 
Fields inherited from class com.sun.enterprise.web.accesslog.AccessLogFormatter
dayFormatter, monthFormatter, months, needTimeTaken, SPACE, timeFormatter, timeZone, tz, yearFormatter
 
Constructor Summary
CommonAccessLogFormatterImpl()
          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
 

Field Detail

NULL_VALUE

protected static final java.lang.String NULL_VALUE
See Also:
Constant Field Values
Constructor Detail

CommonAccessLogFormatterImpl

public CommonAccessLogFormatterImpl()
Constructor.

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.