public interface ErrorController
@Controller is used to
render errors.| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
extract(org.springframework.web.context.request.RequestAttributes attributes,
boolean trace,
boolean log)
Extract a useful model of the error from the request attributes.
|
String |
getErrorPath()
Returns the path of the error page.
|
String getErrorPath()
Map<String,Object> extract(org.springframework.web.context.request.RequestAttributes attributes, boolean trace, boolean log)
attributes - the request attributestrace - flag to indicate that stack trace information should be includedlog - flag to indicate that an error should be loggedCopyright © 2014 Pivotal Software, Inc.. All rights reserved.