Class HASessionStoreValve
- java.lang.Object
-
- org.apache.catalina.valves.ValveBase
-
- org.glassfish.web.ha.session.management.HASessionStoreValve
-
- All Implemented Interfaces:
Contained
,Lifecycle
,Valve
,GlassFishValve
public class HASessionStoreValve extends ValveBase
- Author:
- lwhite, Rajiv Mordani
-
-
Field Summary
-
Fields inherited from class org.apache.catalina.valves.ValveBase
container, controller, debug, domain, info, lifecycle, log, next, oname, rb, started
-
Fields inherited from interface org.glassfish.web.valve.GlassFishValve
END_PIPELINE, INVOKE_NEXT
-
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENT
-
-
Constructor Summary
Constructors Constructor Description HASessionStoreValve()
Creates a new instance of HASessionStoreValve
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
invoke(Request request, Response response)
invoke call-back; nothing to do on the way invoid
postInvoke(Request request, Response response)
A post-request processing implementation that does the valveSave.-
Methods inherited from class org.apache.catalina.valves.ValveBase
addLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getContainer, getController, getDebug, getDomain, getInfo, getNext, getObjectName, getParentName, invoke, isStarted, removeLifecycleListener, setContainer, setController, setDebug, setNext, setObjectName, start, stop
-
-
-
-
Method Detail
-
invoke
public int invoke(Request request, Response response) throws IOException, jakarta.servlet.ServletException
invoke call-back; nothing to do on the way in- Specified by:
invoke
in interfaceGlassFishValve
- Specified by:
invoke
in classValveBase
- Parameters:
request
-response
-- Returns:
INVOKE_NEXT
orEND_PIPELINE
- Throws:
IOException
- if an input/output error occursjakarta.servlet.ServletException
- if a servlet error occurs
-
postInvoke
public void postInvoke(Request request, Response response) throws IOException, jakarta.servlet.ServletException
A post-request processing implementation that does the valveSave.- Specified by:
postInvoke
in interfaceGlassFishValve
- Overrides:
postInvoke
in classValveBase
- Parameters:
request
-response
-- Throws:
IOException
- if an input/output error occursjakarta.servlet.ServletException
- if a servlet error occurs
-
-