Uses of Package
org.springframework.web.context.request.async
Package
Description
Support for asynchronous request processing.
Annotation-based setup for Spring MVC.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support package for MVC controllers.
-
ClassDescriptionExtends
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.The central class for managing asynchronous request processing, mainly intended as an SPI and not typically used directly by application classes.Holder for aCallable
, a timeout value, and a task executor. -
ClassDescriptionIntercepts concurrent request handling, where the concurrent result is obtained by executing a
Callable
on behalf of the application with anAsyncTaskExecutor
.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. -
ClassDescriptionException to be thrown when an async request times out.Intercepts concurrent request handling, where the concurrent result is obtained by executing a
Callable
on behalf of the application with anAsyncTaskExecutor
.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. -
ClassDescriptionException to be thrown when an async request times out.