Package org.springframework.web.context.request.async
Support for asynchronous request processing.
Interface Summary Interface Description AsyncWebRequest ExtendsNativeWebRequest
with methods for asynchronous request processing.CallableProcessingInterceptor Intercepts concurrent request handling, where the concurrent result is obtained by executing aCallable
on behalf of the application with anAsyncTaskExecutor
.DeferredResult.DeferredResultHandler Handles a DeferredResult value when set.DeferredResultProcessingInterceptor Intercepts concurrent request handling, where the concurrent result is obtained by waiting for aDeferredResult
to be set from a thread chosen by the application (e.g.Class Summary Class Description CallableProcessingInterceptorAdapter Deprecated. as of 5.0 where CallableProcessingInterceptor has default methodsDeferredResult<T> DeferredResult
provides an alternative to using aCallable
for asynchronous request processing.DeferredResultProcessingInterceptorAdapter Deprecated. as of 5.0 where DeferredResultProcessingInterceptor has default methodsStandardServletAsyncWebRequest A Servlet 3.0 implementation ofAsyncWebRequest
.TimeoutCallableProcessingInterceptor Sends a 503 (SERVICE_UNAVAILABLE) in case of a timeout if the response is not already committed.TimeoutDeferredResultProcessingInterceptor Sends a 503 (SERVICE_UNAVAILABLE) in case of a timeout if the response is not already committed.WebAsyncManager The central class for managing asynchronous request processing, mainly intended as an SPI and not typically used directly by application classes.WebAsyncTask<V> Holder for aCallable
, a timeout value, and a task executor.WebAsyncUtils Utility methods related to processing asynchronous web requests.Exception Summary Exception Description AsyncRequestTimeoutException Exception to be thrown when an async request times out.