| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public boolean | |
| public void | log(Request
Request (associated with the response) to log request, Response Response (associated with the request) to log response, long Time taken to process the request/response in
nanoseconds (use 0 if not known); in Tomcat
versions prior to 10, the time unit was
milliseconds time)Implements org. Add the request/response to the access log using the specified processing time. |
| public void | setRequestAttributesEnabled(boolean
true causes the attributes
to be used, false causes
the original values to be used.Implements org. Should this valve use request attributes for IP address, hostname, protocol and port used for the request? |
| logs | back to summary |
|---|---|
| private AccessLog[] logs | |
| AccessLogAdapter | back to summary |
|---|---|
| public AccessLogAdapter(AccessLog log) | |
| add | back to summary |
|---|---|
| public void add(AccessLog log) | |
| getRequestAttributesEnabled | back to summary |
|---|---|
| public boolean getRequestAttributesEnabled() Implements org.
| |
| log | back to summary |
|---|---|
| public void log(Request request, Response response, long time) Implements org. Doc from org. Add the request/response to the access log using the specified processing time.
| |
| setRequestAttributesEnabled | back to summary |
|---|---|
| public void setRequestAttributesEnabled(boolean requestAttributesEnabled) Implements org. Doc from org. Should this valve use request attributes for IP address, hostname, protocol and port used for the request? The attributes used are:
| |