@Controller
 @RequestMapping(value="${server.error.path:${error.path:/error}}")
public abstract class BaseErrorController
extends org.springframework.boot.autoconfigure.web.AbstractErrorController
BasicErrorController
 see: ErrorMvcAutoConfiguration, BasicErrorController
| Modifier and Type | Class and Description | 
|---|---|
| static class  | BaseErrorController.MixedErrorController | 
| static class  | BaseErrorController.RestfulErrorController | 
| static class  | BaseErrorController.TemplateErrorController | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | BaseErrorController(ExtendedErrorAttributes errorAttributes,
                   org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected org.springframework.http.ResponseEntity<ResolvedError> | error(javax.servlet.http.HttpServletRequest request,
     javax.servlet.http.HttpServletResponse response) | 
| protected org.springframework.web.servlet.ModelAndView | errorHtml(javax.servlet.http.HttpServletRequest request,
         javax.servlet.http.HttpServletResponse response) | 
| String | getErrorPath() | 
| protected boolean | isIncludeStackTrace(javax.servlet.http.HttpServletRequest request,
                   org.springframework.http.MediaType produces) | 
protected BaseErrorController(ExtendedErrorAttributes errorAttributes, org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties)
protected org.springframework.web.servlet.ModelAndView errorHtml(javax.servlet.http.HttpServletRequest request,
                                                                 javax.servlet.http.HttpServletResponse response)
protected org.springframework.http.ResponseEntity<ResolvedError> error(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
protected boolean isIncludeStackTrace(javax.servlet.http.HttpServletRequest request,
                                      org.springframework.http.MediaType produces)
public String getErrorPath()
Copyright © 2017. All rights reserved.