Class AssistedServiceFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
de.hybris.platform.assistedservicestorefront.filter.AssistedServiceFilter
- All Implemented Interfaces:
javax.servlet.Filter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable,org.springframework.web.context.ServletContextAware
public class AssistedServiceFilter
extends org.springframework.web.filter.OncePerRequestFilter
Assisted Service filter. Used for applying restrictions to storefront paths for AS agent and login agent based on
request.
-
Field Summary
Fields inherited from class org.springframework.web.filter.OncePerRequestFilter
ALREADY_FILTERED_SUFFIXFields inherited from class org.springframework.web.filter.GenericFilterBean
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected voiddoFilterInternal(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse, javax.servlet.FilterChain filterchain) protected AssistedServiceAgentLoginStrategyprotected AssistedServiceFacadeprotected AssistedServicePathRestrictionEvaluatorvoidsetAssistedServiceAgentLoginStrategy(AssistedServiceAgentLoginStrategy assistedServiceAgentLoginStrategy) voidsetAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade) voidsetAssistedServicePathRestrictionEvaluator(AssistedServicePathRestrictionEvaluator assistedServicePathRestrictionEvaluator) Methods inherited from class org.springframework.web.filter.OncePerRequestFilter
doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatchMethods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
-
Constructor Details
-
AssistedServiceFilter
public AssistedServiceFilter()
-
-
Method Details
-
doFilterInternal
protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse, javax.servlet.FilterChain filterchain) throws javax.servlet.ServletException, IOException - Specified by:
doFilterInternalin classorg.springframework.web.filter.OncePerRequestFilter- Throws:
javax.servlet.ServletExceptionIOException
-
createProfileTrackingPauseCookie
-
getAssistedServicePathRestrictionEvaluator
- Returns:
- the assistedServicePathRestrictionEvaluator
-
setAssistedServicePathRestrictionEvaluator
public void setAssistedServicePathRestrictionEvaluator(AssistedServicePathRestrictionEvaluator assistedServicePathRestrictionEvaluator) - Parameters:
assistedServicePathRestrictionEvaluator- the assistedServicePathRestrictionEvaluator to set
-
getAssistedServiceFacade
- Returns:
- the assistedServiceFacade
-
setAssistedServiceFacade
- Parameters:
assistedServiceFacade- the assistedServiceFacade to set
-
getAssistedServiceAgentLoginStrategy
- Returns:
- the assistedServiceAgentLoginStrategy
-
setAssistedServiceAgentLoginStrategy
public void setAssistedServiceAgentLoginStrategy(AssistedServiceAgentLoginStrategy assistedServiceAgentLoginStrategy) - Parameters:
assistedServiceAgentLoginStrategy- the assistedServiceAgentLoginStrategy to set
-