public static class BaseErrorController.MixedErrorController extends BaseErrorController
BaseErrorController.MixedErrorController, BaseErrorController.RestfulErrorController, BaseErrorController.TemplateErrorController| Constructor and Description |
|---|
MixedErrorController(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) |
org.springframework.web.servlet.ModelAndView |
errorHtml(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
getErrorPath, isIncludeStackTracepublic MixedErrorController(ExtendedErrorAttributes errorAttributes, org.springframework.boot.autoconfigure.web.ErrorProperties errorProperties)
@RequestMapping(produces="text/html")
public org.springframework.web.servlet.ModelAndView errorHtml(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
errorHtml in class BaseErrorController@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.