public class AVMRequestDumperValve
extends org.apache.catalina.valves.ValveBase
Valve that logs interesting contents from the specified Request (before processing) and the corresponding Response (after processing). It is especially useful in debugging problems related to headers and cookies.
This Valve may be attached to any Container, depending on the granularity of the logging you wish to perform.
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.catalina.util.StringManager |
sm
The StringManager for this package.
|
| Constructor and Description |
|---|
AVMRequestDumperValve() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInfo()
Return descriptive information about this Valve implementation.
|
void |
invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response)
Log the interesting request parameters, invoke the next Valve in the
sequence, and log the interesting response parameters.
|
String |
toString()
Return a String rendering of this object.
|
backgroundProcess, createObjectName, getContainer, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectNameprotected static org.apache.catalina.util.StringManager sm
public String getInfo()
getInfo in interface org.apache.catalina.ValvegetInfo in class org.apache.catalina.valves.ValveBasepublic void invoke(org.apache.catalina.connector.Request request,
org.apache.catalina.connector.Response response)
throws IOException,
javax.servlet.ServletException
invoke in interface org.apache.catalina.Valveinvoke in class org.apache.catalina.valves.ValveBaserequest - The servlet request to be processedresponse - The servlet response to be createdIOException - if an input/output error occursjavax.servlet.ServletException - if a servlet error occurspublic String toString()
toString in class org.apache.catalina.valves.ValveBaseCopyright © 2005–2014 Alfresco Software. All rights reserved.