spring-framework / org.springframework.web.context.request.async / AsyncRequestTimeoutException

AsyncRequestTimeoutException

open class AsyncRequestTimeoutException : RuntimeException

Exception to be thrown when an async request times out. Alternatively an applications can register a 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.

Author
Rossen Stoyanchev

Since
4.2.8

Constructors

<init>

AsyncRequestTimeoutException()

Exception to be thrown when an async request times out. Alternatively an applications can register a 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.