| java.lang.Object org.apache.catalina.valves.ValveBase org.apache.catalina.core.StandardWrapperValve
StandardWrapperValve | final class StandardWrapperValve extends ValveBase (Code) | | Valve that implements the default basic behavior for the
StandardWrapper container implementation.
author: Craig R. McClanahan version: $Revision: 557818 $ $Date: 2007-07-20 01:48:06 +0200 (ven., 20 juil. 2007) $ |
event | public void event(Request request, Response response, CometEvent event) throws IOException, ServletException(Code) | | Process a Comet event. The main differences here are to not use sendError
(the response is committed), to avoid creating a new filter chain
(which would work but be pointless), and a few very minor tweaks.
Parameters: request - The servlet request to be processed Parameters: response - The servlet response to be created exception: IOException - if an input/output error occurs, or is thrownby a subsequently invoked Valve, Filter, or Servlet exception: ServletException - if a servlet error occurs, or is thrownby a subsequently invoked Valve, Filter, or Servlet |
getErrorCount | public int getErrorCount()(Code) | | |
getMaxTime | public long getMaxTime()(Code) | | |
getMinTime | public long getMinTime()(Code) | | |
getProcessingTime | public long getProcessingTime()(Code) | | |
getRequestCount | public int getRequestCount()(Code) | | |
invoke | final public void invoke(Request request, Response response) throws IOException, ServletException(Code) | | Invoke the servlet we are managing, respecting the rules regarding
servlet lifecycle and SingleThreadModel support.
Parameters: request - Request to be processed Parameters: response - Response to be produced Parameters: valveContext - Valve context used to forward to the next Valve exception: IOException - if an input/output error occurred exception: ServletException - if a servlet error occurred |
setErrorCount | public void setErrorCount(int errorCount)(Code) | | |
setMaxTime | public void setMaxTime(long maxTime)(Code) | | |
setMinTime | public void setMinTime(long minTime)(Code) | | |
setProcessingTime | public void setProcessingTime(long processingTime)(Code) | | |
setRequestCount | public void setRequestCount(int requestCount)(Code) | | |
|
|