Interface AccessLogFormat

  • All Known Implementing Classes:
    ApacheLogFormat

    public interface AccessLogFormat
    An interface defining a component capable of formatting Responses into printable access log entries.

    Implementations of this class must be thread-safe.

    Author:
    Pier Fumagalli, USRZ.com
    • Method Detail

      • format

        String format​(Response response,
                      Date timeStamp,
                      long responseNanos)
        Format the data contained in the specified Response and return a String which can be appended to an access log file.
        Parameters:
        response - The Response holding the data to format.
        timeStamp - The Date at which the request was originated.
        responseNanos - The time, in nanoseconds, the Response took to complete.