接口 ErrorViewResolver
- 所有已知实现类:
DefaultErrorViewResolver
public interface ErrorViewResolver
Interface that can be implemented by beans that resolve error views.- 从以下版本开始:
- 1.4.0
方法详细资料
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 requeststatus
- the http status of the errormodel
- the suggested model to be used with the view- 返回:
- a resolved
ModelAndView
ornull