org.apache.catalina.valves
public class PersistentValve extends ValveBase
USAGE CONSTRAINT: To work correctly it requires a PersistentManager.
USAGE CONSTRAINT: To work correctly it assumes only one request exists per session at any one time.
container, containerLog, controller, domain, mserver, next, oname
Constructor and Description |
---|
PersistentValve() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInfo()
Return descriptive information about this Valve implementation.
|
void |
invoke(Request request,
Response response)
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.
|
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
public java.lang.String getInfo()
public void invoke(Request request, Response response) throws java.io.IOException, javax.servlet.ServletException
protected boolean isSessionStale(Session session, long timeNow)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.