Class DefaultAccessLogFormatterImpl


  • public class DefaultAccessLogFormatterImpl
    extends AccessLogFormatter
    Access log formatter using the SJSAS format.
    • Constructor Detail

      • DefaultAccessLogFormatterImpl

        public DefaultAccessLogFormatterImpl​(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,
                                   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