Interface AbstractAccessLogValve.AccessLogElement

    • Method Detail

      • addElement

        @Deprecated
        default void addElement​(java.io.CharArrayWriter buf,
                                java.util.Date date,
                                Request request,
                                Response response,
                                long time)
        Deprecated.
        Unused. Will be removed in Tomcat 12. Use addElement(CharArrayWriter, Request, Response, long)
        Called to create an access log entry.
        Parameters:
        buf - The buffer to which the log element should be added
        date - The time stamp for the start of the request
        request - The request that triggered this access log entry
        response - The response to the request that triggered this access log entry
        time - The time taken in nanoseconds to process the request
      • addElement

        default void addElement​(java.io.CharArrayWriter buf,
                                Request request,
                                Response response,
                                long time)
        Called to create an access log entry.
        Parameters:
        buf - The buffer to which the log element should be added
        request - The request that triggered this access log entry
        response - The response to the request that triggered this access log entry
        time - The time taken in nanoseconds to process the request