Class InvalidateSessionAndMarkRequestStrategy
- java.lang.Object
-
- de.hybris.platform.servicelayer.web.session.stale.impl.InvalidateSessionAndMarkRequestStrategy
-
- All Implemented Interfaces:
StaleSessionStrategy
public class InvalidateSessionAndMarkRequestStrategy extends java.lang.Object implements StaleSessionStrategy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface de.hybris.platform.servicelayer.web.session.stale.StaleSessionStrategy
StaleSessionStrategy.Action
-
-
Constructor Summary
Constructors Constructor Description InvalidateSessionAndMarkRequestStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaleSessionStrategy.ActiononStaleSession(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Invoked when stale session was detected.
-
-
-
Method Detail
-
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.
-
-