| java.lang.Object org.apache.catalina.valves.ValveBase org.apache.catalina.cluster.tcp.ReplicationValve
ReplicationValve | public class ReplicationValve 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: 1.13 $ $Date: 2004/06/08 20:23:55 $ |
Method Summary | |
protected static synchronized void | addClusterSendTime(long requestTime, long clusterTime) | public String | getInfo() Return descriptive information about this Valve implementation. | public void | invoke(Request request, Response response, ValveContext context) Log the interesting request parameters, invoke the next Valve in the
sequence, and log the interesting response parameters. | public void | setDebug(int debug) | public void | setFilter(String filter) | public String | toString() Return a String rendering of this object. |
debug | protected int debug(Code) | | |
lastSendTime | protected static long lastSendTime(Code) | | |
nrOfRequests | protected static long nrOfRequests(Code) | | |
totalRequestTime | protected static long totalRequestTime(Code) | | |
totalSendTime | protected static long totalSendTime(Code) | | |
ReplicationValve | public ReplicationValve()(Code) | | |
addClusterSendTime | protected static synchronized void addClusterSendTime(long requestTime, long clusterTime)(Code) | | |
getInfo | public String getInfo()(Code) | | Return descriptive information about this Valve implementation.
|
invoke | public void invoke(Request request, Response response, ValveContext context) 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 Parameters: context - The valve context used to invoke the next valvein the current processing pipeline exception: IOException - if an input/output error occurs exception: ServletException - if a servlet error occurs |
setDebug | public void setDebug(int debug)(Code) | | |
toString | public String toString()(Code) | | Return a String rendering of this object.
|
|
|