public abstract class AbstractErrorController extends Object implements ErrorController
Controller implementations.ErrorAttributes| Constructor and Description |
|---|
AbstractErrorController(ErrorAttributes errorAttributes) |
AbstractErrorController(ErrorAttributes errorAttributes,
List<ErrorViewResolver> errorViewResolvers) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
getErrorAttributes(javax.servlet.http.HttpServletRequest request,
boolean includeStackTrace) |
protected org.springframework.http.HttpStatus |
getStatus(javax.servlet.http.HttpServletRequest request) |
protected boolean |
getTraceParameter(javax.servlet.http.HttpServletRequest request) |
protected org.springframework.web.servlet.ModelAndView |
resolveErrorView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.http.HttpStatus status,
Map<String,Object> model)
Resolve any specific error views.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetErrorPathpublic AbstractErrorController(ErrorAttributes errorAttributes)
public AbstractErrorController(ErrorAttributes errorAttributes, List<ErrorViewResolver> errorViewResolvers)
protected Map<String,Object> getErrorAttributes(javax.servlet.http.HttpServletRequest request, boolean includeStackTrace)
protected boolean getTraceParameter(javax.servlet.http.HttpServletRequest request)
protected org.springframework.http.HttpStatus getStatus(javax.servlet.http.HttpServletRequest request)
protected org.springframework.web.servlet.ModelAndView resolveErrorView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.http.HttpStatus status,
Map<String,Object> model)
ErrorViewResolvers.request - the requestresponse - the responsestatus - the HTTP statusmodel - the suggested modelModelAndView or null if the default should be
usedCopyright © 2018 Pivotal Software, Inc.. All rights reserved.