Class ConfigWro4jBeforeViewHandler

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

public class ConfigWro4jBeforeViewHandler extends Object implements BeforeViewHandler
Class to gather value of storefront.wro4j.enabled from properties file, which can enable wro4j.
  • Constructor Details

    • ConfigWro4jBeforeViewHandler

      public ConfigWro4jBeforeViewHandler()
  • Method Details

    • getSiteConfigService

      protected SiteConfigService getSiteConfigService()
    • setSiteConfigService

      public void setSiteConfigService(SiteConfigService siteConfigService)
    • beforeView

      public void beforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView) throws Exception
      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
      Throws:
      Exception - in case of errors