|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.catalina.valves.ValveBase
org.apache.catalina.valves.PersistentValve
Valve that implements the default basic behavior for the
StandardHost container implementation.
USAGE CONSTRAINT: To work correctly it requires a PersistentManager.
| Field Summary |
| Fields inherited from class org.apache.catalina.valves.ValveBase |
container, controller, debug, domain, mserver, oname |
| Constructor Summary | |
PersistentValve()
|
|
| Method Summary | |
java.lang.String |
getInfo()
Return descriptive information about this Valve implementation. |
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(java.lang.String message)
Log a message on the Logger associated with our Container (if any). |
| Methods inherited from class org.apache.catalina.valves.ValveBase |
createObjectName, getContainer, getContainerName, getController, getDebug, getDomain, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setDebug, setObjectName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PersistentValve()
| Method Detail |
public java.lang.String getInfo()
getInfo in interface ValvegetInfo in class ValveBase
public void invoke(Request request,
Response response,
ValveContext valveContext)
throws java.io.IOException,
javax.servlet.ServletException
invoke in interface Valveinvoke in class ValveBaserequest - Request to be processedresponse - Response to be producedvalveContext - Valve context used to forward to the next Valve
java.io.IOException - if an input/output error occurred
javax.servlet.ServletException - if a servlet error occurredprotected void log(java.lang.String message)
message - Message to be logged
protected boolean isSessionStale(Session session,
long timeNow)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||