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.
@FunctionalInterface public interface ErrorViewResolver
Interface that can be implemented by beans that resolve error views.- Since:
- 1.4.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
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 requeststatus
- the http status of the errormodel
- the suggested model to be used with the view- Returns:
- a resolved
ModelAndView
ornull