Package | Description |
---|---|
org.springframework.web.context.request.async |
Support for asynchronous request processing.
|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Class and Description |
---|
AsyncWebRequest
Extends
NativeWebRequest with methods for asynchronous request processing. |
CallableProcessingInterceptor
Intercepts concurrent request handling, where the concurrent result is
obtained by executing a
Callable on behalf of the application with
an AsyncTaskExecutor . |
DeferredResult
DeferredResult provides an alternative to using a Callable for
asynchronous request processing. |
DeferredResult.DeferredResultHandler
Handles a DeferredResult value when set.
|
DeferredResultProcessingInterceptor
Intercepts concurrent request handling, where the concurrent result is
obtained by waiting for a
DeferredResult to be set from a thread
chosen by the application (e.g. |
WebAsyncManager
The central class for managing asynchronous request processing, mainly intended
as an SPI and not typically used directly by application classes.
|
WebAsyncTask
Holder for a
Callable , a timeout value, and a task executor. |
Class and Description |
---|
CallableProcessingInterceptor
Intercepts concurrent request handling, where the concurrent result is
obtained by executing a
Callable on behalf of the application with
an AsyncTaskExecutor . |
DeferredResultProcessingInterceptor
Intercepts concurrent request handling, where the concurrent result is
obtained by waiting for a
DeferredResult to be set from a thread
chosen by the application (e.g. |
Class and Description |
---|
AsyncRequestTimeoutException
Exception to be thrown when an async request times out.
|
CallableProcessingInterceptor
Intercepts concurrent request handling, where the concurrent result is
obtained by executing a
Callable on behalf of the application with
an AsyncTaskExecutor . |
DeferredResultProcessingInterceptor
Intercepts concurrent request handling, where the concurrent result is
obtained by waiting for a
DeferredResult to be set from a thread
chosen by the application (e.g. |
Class and Description |
---|
AsyncRequestNotUsableException
Raised when the response for an asynchronous request becomes unusable as
indicated by a write failure, or a Servlet container error notification, or
after the async request has completed.
|
AsyncRequestTimeoutException
Exception to be thrown when an async request times out.
|