| java.lang.Object org.apache.catalina.valves.ValveBase org.apache.catalina.valves.PersistentValve
PersistentValve | public class PersistentValve extends ValveBase (Code) | | Valve that implements the default basic behavior for the
StandardHost container implementation.
USAGE CONSTRAINT: To work correctly it requires a PersistentManager.
author: Jean-Frederic Clere version: $Revision: 1.5 $ $Date: 2004/02/27 14:58:52 $ |
Method Summary | |
public String | getInfo() Return descriptive information about this Valve implementation. | public void | invoke(Request request, Response response, ValveContext valveContext) Select the appropriate child Context to process this request,
based on the specified request URI. | protected boolean | isSessionStale(Session session, long timeNow) Indicate whether the session has been idle for longer
than its expiration date as of the supplied time. | protected void | log(String message) Log a message on the Logger associated with our Container (if any). |
getInfo | public String getInfo()(Code) | | Return descriptive information about this Valve implementation.
|
invoke | public void invoke(Request request, Response response, ValveContext valveContext) throws IOException, ServletException(Code) | | Select the appropriate child Context to process this request,
based on the specified request URI. If no matching Context can
be found, return an appropriate HTTP error.
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 |
isSessionStale | protected boolean isSessionStale(Session session, long timeNow)(Code) | | Indicate whether the session has been idle for longer
than its expiration date as of the supplied time.
FIXME: Probably belongs in the Session class.
|
log | protected void log(String message)(Code) | | Log a message on the Logger associated with our Container (if any).
Parameters: message - Message to be logged |
|
|