Class AfterListingPageControllerInterceptor

java.lang.Object
org.springframework.web.servlet.handler.HandlerInterceptorAdapter
de.hybris.platform.travelacceleratorstorefront.interceptors.aftercontroller.AfterListingPageControllerInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.AsyncHandlerInterceptor, org.springframework.web.servlet.HandlerInterceptor

public class AfterListingPageControllerInterceptor extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
Below Interceptor will assign the current currency to the previous currency session attribute to avoid clearing of facets on listing page through facets. If don't do this the system would clear the facets on facet search as previous currency will always be different than the current currency due to the code executed in CurrencyUpdateBeforeControllerHandler before currency change event
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView modelAndView)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.AsyncHandlerInterceptor

    afterConcurrentHandlingStarted

    Methods inherited from interface org.springframework.web.servlet.HandlerInterceptor

    afterCompletion, preHandle
  • Constructor Details

    • AfterListingPageControllerInterceptor

      public AfterListingPageControllerInterceptor()
  • Method Details

    • postHandle

      public void postHandle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Object handler, org.springframework.web.servlet.ModelAndView modelAndView) throws Exception
      Throws:
      Exception