Class PersonalizationBeforeViewHandler
java.lang.Object
de.hybris.platform.personalizationaddon.PersonalizationBeforeViewHandler
- All Implemented Interfaces:
BeforeViewHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbeforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView) Called before the DispatcherServlet renders the view.protected CxStorefrontReportingStrategyprotected CxScriptPropertiesSuppliervoidsetCxStorefrontReportingStrategy(CxStorefrontReportingStrategy cxStorefrontReportingStrategy) voidsetPropertiesSupplier(CxScriptPropertiesSupplier propertiesSupplier)
-
Field Details
-
PERSONALIZATION_ACTIONS
- See Also:
-
PERSONALIZATION_SEGMENTS
- See Also:
-
-
Constructor Details
-
PersonalizationBeforeViewHandler
public PersonalizationBeforeViewHandler()
-
-
Method Details
-
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:BeforeViewHandlerCalled before the DispatcherServlet renders the view. Can expose additional model objects to the view via the given ModelAndView.- Specified by:
beforeViewin interfaceBeforeViewHandler- Parameters:
request- current HTTP requestresponse- current HTTP responsemodelAndView- theModelAndViewthat the handler returned- Throws:
Exception- in case of errors
-
setPropertiesSupplier
-
getPropertiesSupplier
-
getCxStorefrontReportingStrategy
-
setCxStorefrontReportingStrategy
public void setCxStorefrontReportingStrategy(CxStorefrontReportingStrategy cxStorefrontReportingStrategy)
-