Class 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 Detail

      • CustomerLocationRestorationFilter

        public CustomerLocationRestorationFilter()
    • Method Detail

      • doFilterInternal

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

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

        protected UserLocationData decipherUserLocationData​(java.lang.String customerLocationString)
      • setCustomerLocationFacade

        public void setCustomerLocationFacade​(CustomerLocationFacade customerLocationFacade)