Class RequestLog.Collection

  • All Implemented Interfaces:
    RequestLog
    Enclosing interface:
    RequestLog

    @Deprecated(since="2021-05-27")
    public static class RequestLog.Collection
    extends java.lang.Object
    implements RequestLog
    Deprecated.
    • Constructor Detail

      • Collection

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

      • log

        public void log​(Request request,
                        Response response)
        Deprecated.
        Specified by:
        log in interface RequestLog
        Parameters:
        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.