Class RequestLog.Collection

java.lang.Object
org.eclipse.jetty.server.RequestLog.Collection
All Implemented Interfaces:
RequestLog
Enclosing interface:
RequestLog

public static class RequestLog.Collection extends Object implements RequestLog
  • Constructor Details

    • Collection

      public Collection(RequestLog... logs)
  • Method Details

    • log

      public void log(Request request, Response response)
      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.