Class DefaultStaleSessionCheckingFilterChain
java.lang.Object
de.hybris.platform.servicelayer.web.session.stale.impl.DefaultStaleSessionCheckingFilterChain
- All Implemented Interfaces:
StaleSessionCheckingFilterChain,javax.servlet.FilterChain
public class DefaultStaleSessionCheckingFilterChain
extends Object
implements StaleSessionCheckingFilterChain
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultStaleSessionCheckingFilterChain(javax.servlet.FilterChain targetFilterChain, StaleSessionDetector staleSessionDetector, StaleSessionStrategy staleSessionStrategy, StaleSessionConfig staleSessionConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) As part of theFilterChain.doFilter(ServletRequest, ServletResponse)invocation the decision should be made if further processing of theServletRequestis allowed or not.
-
Constructor Details
-
DefaultStaleSessionCheckingFilterChain
public DefaultStaleSessionCheckingFilterChain(javax.servlet.FilterChain targetFilterChain, StaleSessionDetector staleSessionDetector, StaleSessionStrategy staleSessionStrategy, StaleSessionConfig staleSessionConfig)
-
-
Method Details
-
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws IOException, javax.servlet.ServletException - Specified by:
doFilterin interfacejavax.servlet.FilterChain- Throws:
IOExceptionjavax.servlet.ServletException
-
getStaleSessionAction
Description copied from interface:StaleSessionCheckingFilterChainAs part of theFilterChain.doFilter(ServletRequest, ServletResponse)invocation the decision should be made if further processing of theServletRequestis allowed or not.- Specified by:
getStaleSessionActionin interfaceStaleSessionCheckingFilterChain- Returns:
StaleSessionStrategy.Action.CONTINUE_REQUEST_PROCESSINGif processing of theServletRequestshould be continued.StaleSessionStrategy.Action.BREAK_REQUEST_PROCESSINGif processing of theServletRequestshould not be continued.
-