Interface BeforeViewHandler
- All Known Implementing Classes:
AccountSummaryBeforeViewHandler,AddToCartBeforeViewHandler,AnalyticsPropertiesBeforeViewHandler,B2BAcceleratorAddonBeforeViewHandler,BaiduMapsBeforeViewHandler,CartRestorationBeforeViewHandler,CategoryCollectionBeforeViewHandler,CmsPageBeforeViewHandler,ConfigWro4jBeforeViewHandler,ConsentManagementBeforeViewHandler,CookieNotificationBeforeViewHandler,DebugInfoBeforeViewHandler,GoogleMapsBeforeViewHandler,PersonalizationBeforeViewHandler,PunchOutBeforeViewHandler,SecurePortalBeforeViewHandler,SeoRobotsFollowBeforeViewHandler,SmarteditaddonCmsPageBeforeViewHandler,UiExperienceMetadataViewHandler,UiThemeResourceBeforeViewHandler
public interface BeforeViewHandler
-
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.
-
Method Details
-
beforeView
void beforeView(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.web.servlet.ModelAndView modelAndView) throws Exception Called before the DispatcherServlet renders the view. Can expose additional model objects to the view via the given ModelAndView.- Parameters:
request- current HTTP requestresponse- current HTTP responsemodelAndView- theModelAndViewthat the handler returned- Throws:
Exception- in case of errors
-