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.
  • 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 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