Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » catalina » valves » [javadoc | source]
org.apache.catalina.valves
public class: RequestDumperValve [javadoc | source]
java.lang.Object
   org.apache.catalina.valves.ValveBase
      org.apache.catalina.valves.RequestDumperValve

All Implemented Interfaces:
    Valve, MBeanRegistration, Contained

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.

Field Summary
protected static  StringManager sm    The StringManager for this package. 
Fields inherited from org.apache.catalina.valves.ValveBase:
container,  containerLog,  info,  next,  sm,  domain,  oname,  mserver,  controller
Method from org.apache.catalina.valves.RequestDumperValve Summary:
getInfo,   invoke,   toString
Methods from org.apache.catalina.valves.ValveBase:
backgroundProcess,   createObjectName,   event,   getContainer,   getContainerName,   getController,   getDomain,   getInfo,   getNext,   getObjectName,   getParentName,   invoke,   postDeregister,   postRegister,   preDeregister,   preRegister,   setContainer,   setController,   setNext,   setObjectName,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.catalina.valves.RequestDumperValve Detail:
 public String getInfo() 
    Return descriptive information about this Valve implementation.
 public  void invoke(Request request,
    Response response) throws IOException, ServletException 
    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.