Package org.springframework.web.context.request.async
package org.springframework.web.context.request.async
Support for asynchronous request processing.
-
ClassDescriptionException to be thrown when an async request times out.Extends
NativeWebRequest
with methods for asynchronous request processing.Intercepts concurrent request handling, where the concurrent result is obtained by executing aCallable
on behalf of the application with anAsyncTaskExecutor
.DeferredResult
provides an alternative to using aCallable
for asynchronous request processing.Handles a DeferredResult value when set.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.A Servlet implementation ofAsyncWebRequest
.Sends a 503 (SERVICE_UNAVAILABLE) in case of a timeout if the response is not already committed.Sends a 503 (SERVICE_UNAVAILABLE) in case of a timeout if the response is not already committed.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.Utility methods related to processing asynchronous web requests.