Interface BeforeViewHandler
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
-