Class RequestLog.Collection

  • All Implemented Interfaces:
    Enclosing interface:

    public static class RequestLog.Collection
    extends java.lang.Object
    implements RequestLog
    • Constructor Detail

      • Collection

        public Collection​(RequestLog... logs)
    • Method Detail

      • log

        public void log​(Request request,
                        Response response)
        Specified by:
        log in interface RequestLog
        request - The request to log.
        response - The response to log. Note that for some requests the response instance may not have been fully populated (Eg 400 bad request responses are sent without a servlet response object). Thus for basic log information it is best to consult Response.getCommittedMetaData() and Response.getHttpChannel() directly.