Class CustomerLocationRestorationFilter

java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
de.hybris.platform.yacceleratorstorefront.filters.CustomerLocationRestorationFilter
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 CustomerLocationRestorationFilter extends org.springframework.web.filter.OncePerRequestFilter
  • Constructor Details

    • CustomerLocationRestorationFilter

      public CustomerLocationRestorationFilter()
  • Method Details

    • doFilterInternal

      public void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain filterChain) throws javax.servlet.ServletException, IOException
      Specified by:
      doFilterInternal in class org.springframework.web.filter.OncePerRequestFilter
      Throws:
      javax.servlet.ServletException
      IOException
    • setUserLocationDataFromCookies

      protected void setUserLocationDataFromCookies(javax.servlet.http.Cookie[] cookies)
    • decipherUserLocationData

      protected UserLocationData decipherUserLocationData(String customerLocationString)
    • getCustomerLocationFacade

      protected CustomerLocationFacade getCustomerLocationFacade()
    • setCustomerLocationFacade

      public void setCustomerLocationFacade(CustomerLocationFacade customerLocationFacade)
    • getCustomerLocationCookieGenerator

      protected CustomerLocationCookieGenerator getCustomerLocationCookieGenerator()
    • setCustomerLocationCookieGenerator

      public void setCustomerLocationCookieGenerator(CustomerLocationCookieGenerator customerLocationCookieGenerator)