DeferredResultProcessingInterceptor or a
CallableProcessingInterceptor to handle the timeout through
the MVC Java config or the MVC XML namespace or directly through properties
of the RequestMappingHandlerAdapter.
By default the exception will be handled as a 503 error.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ProblemDetail | getBody()
Implements org. Return the body for the response, formatted as an RFC 7807
|
| public HttpStatusCode | getStatusCode()
Implements org. Return the HTTP status code to use for the response. |
| AsyncRequestTimeoutException | back to summary |
|---|---|
| public AsyncRequestTimeoutException() | |
| getBody | back to summary |
|---|---|
| public ProblemDetail getBody() Implements org. Doc from org. Return the body for the response, formatted as an RFC 7807
| |
| getStatusCode | back to summary |
|---|---|
| public HttpStatusCode getStatusCode() Implements org. Doc from org. Return the HTTP status code to use for the response.
| |