| java.lang.Object org.apache.catalina.valves.ValveBase org.apache.catalina.valves.RequestDumperValve
RequestDumperValve | public class RequestDumperValve extends ValveBase (Code) | | Implementation of a 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.
author: Craig R. McClanahan version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Field Summary | |
protected static StringManager | sm The StringManager for this package. |
Method Summary | |
public String | getInfo() Return descriptive information about this Valve implementation. | public void | invoke(Request request, Response response) Log the interesting request parameters, invoke the next Valve in the
sequence, and log the interesting response parameters. | public String | toString() Return a String rendering of this object. |
getInfo | public String getInfo()(Code) | | Return descriptive information about this Valve implementation.
|
invoke | public void invoke(Request request, Response response) throws IOException, ServletException(Code) | | Log the interesting request parameters, invoke the next Valve in the
sequence, and log the interesting response parameters.
Parameters: request - The servlet request to be processed Parameters: response - The servlet response to be created exception: IOException - if an input/output error occurs exception: ServletException - if a servlet error occurs |
toString | public String toString()(Code) | | Return a String rendering of this object.
|
|
|