org.apache.catalina.valves
public class RequestDumperValve extends ValveBase
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.
Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $
Field Summary | |
---|---|
protected static StringManager | sm
The StringManager for this package. |
Method Summary | |
---|---|
String | getInfo()
Return descriptive information about this Valve implementation. |
void | invoke(Request request, 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. |
Parameters: request The servlet request to be processed response The servlet response to be created
Throws: IOException if an input/output error occurs ServletException if a servlet error occurs