public interface BeforeViewHandler
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    beforeView(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 request
      response - current HTTP response
      modelAndView - the ModelAndView that the handler returned
      Throws:
      Exception - in case of errors