Interface ErrorViewResolver
- All Known Implementing Classes:
DefaultErrorViewResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface that can be implemented by beans that resolve error views.
- Since:
- 1.4.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionresolveErrorView
(HttpServletRequest request, HttpStatus status, Map<String, Object> model) Resolve an error view for the specified details.
-
Method Details
-
resolveErrorView
ModelAndView resolveErrorView(HttpServletRequest request, HttpStatus status, Map<String, Object> model) Resolve an error view for the specified details.- Parameters:
request
- the source requeststatus
- the http status of the errormodel
- the suggested model to be used with the view- Returns:
- a resolved
ModelAndView
ornull
-