Class InvalidateSessionAndMarkRequestStrategy
java.lang.Object
de.hybris.platform.servicelayer.web.session.stale.impl.InvalidateSessionAndMarkRequestStrategy
- All Implemented Interfaces:
StaleSessionStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.servicelayer.web.session.stale.StaleSessionStrategy
StaleSessionStrategy.Action -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononStaleSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Invoked when stale session was detected.
-
Constructor Details
-
InvalidateSessionAndMarkRequestStrategy
public InvalidateSessionAndMarkRequestStrategy()
-
-
Method Details
-
onStaleSession
public StaleSessionStrategy.Action onStaleSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Description copied from interface:StaleSessionStrategyInvoked when stale session was detected. Besides the logic it is also responsible for deciding if request processing should be continued or not.- Specified by:
onStaleSessionin interfaceStaleSessionStrategy- Parameters:
request- request which is currently processing.response- response which will bee returned.- Returns:
StaleSessionStrategy.Action.BREAK_REQUEST_PROCESSINGwhen processing should not continue.StaleSessionStrategy.Action.CONTINUE_REQUEST_PROCESSINGwhen processing should be continued.
-