Package org.eclipse.jetty.server
Interface RequestLog
- All Known Implementing Classes:
CustomRequestLog
,RequestLog.Collection
public interface RequestLog
A
RequestLog
can be attached to a RequestLogHandler
to enable
logging of requests/responses.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
static interface
Writes the generated log string to a log sink -
Method Summary
-
Method Details
-
log
- 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.
-