public interface AccessLog
Valve
to indicate that the Valve
provides access logging. It is used by the Tomcat internals to identify a
Valve that logs access requests so requests that are rejected
earlier in the processing chain can still be added to the access log.
Implementations of this interface should be robust against the provided
Request
and Response
objects being null, having null
attributes or any other 'oddness' that may result from attempting to log
a request that was almost certainly rejected because it was mal-formed.void log(Request request, Response response, long time)
request
- Request (associated with the response) to logresponse
- Response (associated with the request) to logtime
- Time taken to process the request/response in
milliseconds (use 0 if not known)Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.