Interface ErrorViewResolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      org.springframework.web.servlet.ModelAndViewresolveErrorView​(javax.servlet.http.HttpServletRequest request, org.springframework.http.HttpStatus status, Map<String,​Object> model)
      Resolve an error view for the specified details.
    • Method Detail

      • resolveErrorView

        org.springframework.web.servlet.ModelAndView resolveErrorView​(javax.servlet.http.HttpServletRequest request,
                                                                      org.springframework.http.HttpStatus status,
                                                                      Map<String,​Object> model)
        Resolve an error view for the specified details.
        Parameters:
        request - the source request
        status - the http status of the error
        model - the suggested model to be used with the view
        Returns:
        a resolved ModelAndView or null