public class PersistentValve extends ValveBase
StandardHost container implementation.
USAGE CONSTRAINT: To work correctly it requires a PersistentManager.
container, controller, debug, domain, lifecycle, log, next, oname, rb, startedAFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENTEND_PIPELINE, INVOKE_NEXT| Constructor and Description |
|---|
PersistentValve() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInfo()
Return descriptive information about this Valve implementation.
|
int |
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.
|
protected void |
log(String message)
Log a message on the Logger associated with our Container (if any).
|
void |
postInvoke(Request request,
Response response)
A post-request processing implementation that does nothing.
|
addLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getContainer, getController, getDebug, getDomain, getNext, getObjectName, getParentName, invoke, isStarted, removeLifecycleListener, setContainer, setController, setDebug, setNext, setObjectName, start, stoppublic String getInfo()
public int invoke(Request request, Response response) throws IOException, javax.servlet.ServletException
invoke in interface GlassFishValveinvoke in class ValveBaserequest - Request to be processedresponse - Response to be producedINVOKE_NEXT or END_PIPELINEIOException - if an input/output error occurredjavax.servlet.ServletException - if a servlet error occurredpublic void postInvoke(Request request, Response response) throws IOException, javax.servlet.ServletException
ValveBasepostInvoke in interface GlassFishValvepostInvoke in class ValveBaserequest - The servlet request to be processedresponse - The servlet response to be createdIOException - if an input/output error occursjavax.servlet.ServletException - if a servlet error occursprotected void log(String message)
message - Message to be loggedprotected boolean isSessionStale(Session session, long timeNow)
Copyright © 2019. All rights reserved.