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.OncePerRequestFilterAssisted Service filter. Used for applying restrictions to storefront paths for AS agent and login agent based on request.
-
-
Constructor Summary
Constructors Constructor Description AssistedServiceFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringcreateProfileTrackingPauseCookie()protected voiddoFilterInternal(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse, javax.servlet.FilterChain filterchain)protected AssistedServiceAgentLoginStrategygetAssistedServiceAgentLoginStrategy()protected AssistedServiceFacadegetAssistedServiceFacade()protected AssistedServicePathRestrictionEvaluatorgetAssistedServicePathRestrictionEvaluator()voidsetAssistedServiceAgentLoginStrategy(AssistedServiceAgentLoginStrategy assistedServiceAgentLoginStrategy)voidsetAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)voidsetAssistedServicePathRestrictionEvaluator(AssistedServicePathRestrictionEvaluator assistedServicePathRestrictionEvaluator)-
Methods inherited from class org.springframework.web.filter.OncePerRequestFilter
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
-
-
-
-
Method Detail
-
doFilterInternal
protected void doFilterInternal(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse, javax.servlet.FilterChain filterchain) throws javax.servlet.ServletException, java.io.IOException- Specified by:
doFilterInternalin classorg.springframework.web.filter.OncePerRequestFilter- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
createProfileTrackingPauseCookie
protected java.lang.String createProfileTrackingPauseCookie()
-
getAssistedServicePathRestrictionEvaluator
protected AssistedServicePathRestrictionEvaluator getAssistedServicePathRestrictionEvaluator()
- Returns:
- the assistedServicePathRestrictionEvaluator
-
setAssistedServicePathRestrictionEvaluator
public void setAssistedServicePathRestrictionEvaluator(AssistedServicePathRestrictionEvaluator assistedServicePathRestrictionEvaluator)
- Parameters:
assistedServicePathRestrictionEvaluator- the assistedServicePathRestrictionEvaluator to set
-
getAssistedServiceFacade
protected AssistedServiceFacade getAssistedServiceFacade()
- Returns:
- the assistedServiceFacade
-
setAssistedServiceFacade
public void setAssistedServiceFacade(AssistedServiceFacade assistedServiceFacade)
- Parameters:
assistedServiceFacade- the assistedServiceFacade to set
-
getAssistedServiceAgentLoginStrategy
protected AssistedServiceAgentLoginStrategy getAssistedServiceAgentLoginStrategy()
- Returns:
- the assistedServiceAgentLoginStrategy
-
setAssistedServiceAgentLoginStrategy
public void setAssistedServiceAgentLoginStrategy(AssistedServiceAgentLoginStrategy assistedServiceAgentLoginStrategy)
- Parameters:
assistedServiceAgentLoginStrategy- the assistedServiceAgentLoginStrategy to set
-
-