Interface BeforeViewHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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 Detail

      • beforeView

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