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_SUFFIX

    Fields inherited from class org.springframework.web.filter.GenericFilterBean

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected void
    doFilterInternal(javax.servlet.http.HttpServletRequest httpservletrequest, javax.servlet.http.HttpServletResponse httpservletresponse, javax.servlet.FilterChain filterchain)
     
     
    protected de.hybris.platform.assistedservicefacades.AssistedServiceFacade
     
    protected de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestrictionEvaluator
     
    void
     
    void
    setAssistedServiceFacade(de.hybris.platform.assistedservicefacades.AssistedServiceFacade assistedServiceFacade)
     
    void
    setAssistedServicePathRestrictionEvaluator(de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestrictionEvaluator assistedServicePathRestrictionEvaluator)
     

    Methods inherited from class org.springframework.web.filter.OncePerRequestFilter

    doFilter, doFilterNestedErrorDispatch, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch

    Methods inherited from class org.springframework.web.filter.GenericFilterBean

    addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      doFilterInternal in class org.springframework.web.filter.OncePerRequestFilter
      Throws:
      javax.servlet.ServletException
      IOException
    • createProfileTrackingPauseCookie

      protected String createProfileTrackingPauseCookie()
    • getAssistedServicePathRestrictionEvaluator

      protected de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestrictionEvaluator getAssistedServicePathRestrictionEvaluator()
      Returns:
      the assistedServicePathRestrictionEvaluator
    • setAssistedServicePathRestrictionEvaluator

      public void setAssistedServicePathRestrictionEvaluator(de.hybris.platform.assistedservicestorefront.restrictions.AssistedServicePathRestrictionEvaluator assistedServicePathRestrictionEvaluator)
      Parameters:
      assistedServicePathRestrictionEvaluator - the assistedServicePathRestrictionEvaluator to set
    • getAssistedServiceFacade

      protected de.hybris.platform.assistedservicefacades.AssistedServiceFacade getAssistedServiceFacade()
      Returns:
      the assistedServiceFacade
    • setAssistedServiceFacade

      public void setAssistedServiceFacade(de.hybris.platform.assistedservicefacades.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