Package org.eclipse.jetty.server
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 java.lang.Object implements RequestLog
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.server.RequestLog
RequestLog.Collection, RequestLog.Writer
-
-
Constructor Summary
Constructors Constructor Description Collection(RequestLog... logs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
log(Request request, Response response)
-
-
-
Constructor Detail
-
Collection
public Collection(RequestLog... logs)
-
-
Method Detail
-
log
public void log(Request request, Response response)
- Specified by:
log
in interfaceRequestLog
- 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 consultResponse.getCommittedMetaData()
andResponse.getHttpChannel()
directly.
-
-