Class PersonalizationBeforeViewHandler

    • Field Detail

      • PERSONALIZATION_ACTIONS

        public static final java.lang.String PERSONALIZATION_ACTIONS
        See Also:
        Constant Field Values
      • PERSONALIZATION_SEGMENTS

        public static final java.lang.String PERSONALIZATION_SEGMENTS
        See Also:
        Constant Field Values
    • Constructor Detail

      • PersonalizationBeforeViewHandler

        public PersonalizationBeforeViewHandler()
    • Method Detail

      • beforeView

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

        public void setCxStorefrontReportingStrategy​(CxStorefrontReportingStrategy cxStorefrontReportingStrategy)