接口 ErrorViewResolver

    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      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.
    • 方法详细资料

      • 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.
        参数:
        request - the source request
        status - the http status of the error
        model - the suggested model to be used with the view
        返回:
        a resolved ModelAndView or null