程序包 org.springframework.web.context.request.async
Support for asynchronous request processing.
接口概要 接口 说明 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. in response to some external event).类概要 类 说明 CallableProcessingInterceptorAdapter Abstract adapter class for theCallableProcessingInterceptor
interface, for simplified implementation of individual methods.DeferredResult<T> DeferredResult
provides an alternative to using aCallable
for asynchronous request processing.DeferredResultProcessingInterceptorAdapter Abstract adapter class for theDeferredResultProcessingInterceptor
interface for simplified implementation of individual methods.NoSupportAsyncWebRequest AnAsyncWebRequest
to 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.异常错误概要 异常错误 说明 AsyncRequestTimeoutException Exception to be thrown when an async request times out.