Package org.springframework.web.context.request.async
Support for asynchronous request processing.
Interface Summary Interface Description AsyncWebRequest ExtendsNativeWebRequestwith methods for asynchronous request processing.CallableProcessingInterceptor Intercepts concurrent request handling, where the concurrent result is obtained by executing aCallableon 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 aDeferredResultto be set from a thread chosen by the application (e.g.Class Summary Class Description CallableProcessingInterceptorAdapter Abstract adapter class for theCallableProcessingInterceptorinterface, for simplified implementation of individual methods.DeferredResult<T> DeferredResultprovides an alternative to using aCallablefor asynchronous request processing.DeferredResultProcessingInterceptorAdapter Abstract adapter class for theDeferredResultProcessingInterceptorinterface for simplified implementation of individual methods.NoSupportAsyncWebRequest AnAsyncWebRequestto use when there is no underlying async support.StandardServletAsyncWebRequest 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.