public static class BaseErrorController.RestfulErrorController extends BaseErrorController
BaseErrorController.MixedErrorController, BaseErrorController.RestfulErrorController, BaseErrorController.TemplateErrorController| Constructor and Description |
|---|
RestfulErrorController(ExtendedErrorAttributes errorAttributes,
org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<ResolvedError> |
error(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
errorHtml, getErrorPath, isIncludeStackTracepublic RestfulErrorController(ExtendedErrorAttributes errorAttributes, org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties)
@RequestMapping @ResponseBody public org.springframework.http.ResponseEntity<ResolvedError> error(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
error in class BaseErrorControllerCopyright © 2017. All rights reserved.