Class UiThemeResourceBeforeViewHandler

java.lang.Object
de.hybris.platform.yacceleratorstorefront.interceptors.beforeview.UiThemeResourceBeforeViewHandler
All Implemented Interfaces:
BeforeViewHandler

public class UiThemeResourceBeforeViewHandler extends Object implements BeforeViewHandler
Interceptor to setup the paths to the UI resource paths in the model before passing it to the view. Sets up the path to the web accessible UI resources for the following: * The current site * The current theme * The common resources All of these paths are qualified by the current UiExperienceLevel
  • Field Details

  • Constructor Details

    • UiThemeResourceBeforeViewHandler

      public UiThemeResourceBeforeViewHandler()
  • Method Details

    • beforeView

      public void beforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView)
      Description copied from interface: BeforeViewHandler
      Called before the DispatcherServlet renders the view. Can expose additional model objects to the view via the given ModelAndView.
      Specified by:
      beforeView in interface BeforeViewHandler
      Parameters:
      request - current HTTP request
      response - current HTTP response
      modelAndView - the ModelAndView that the handler returned