程序包的使用
org.springframework.web.context.request.async
使用org.springframework.web.context.request.async的程序包 程序包 说明 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 theorg.springframework.web.method.annotation
package.org.springframework.web.servlet.mvc.support Support package for MVC controllers.org.springframework.web.context.request.async使用的org.springframework.web.context.request.async中的类 类 说明 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 DeferredResult
provides an alternative to using aCallable
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 aDeferredResult
to be set from a thread chosen by the application (e.g. in response to some external event).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 aCallable
, a timeout value, and a task executor.org.springframework.web.servlet.config.annotation使用的org.springframework.web.context.request.async中的类 类 说明 CallableProcessingInterceptor Intercepts concurrent request handling, where the concurrent result is obtained by executing aCallable
on behalf of the application with anAsyncTaskExecutor
.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).org.springframework.web.servlet.mvc.method.annotation使用的org.springframework.web.context.request.async中的类 类 说明 AsyncRequestTimeoutException Exception to be thrown when an async request times out.CallableProcessingInterceptor Intercepts concurrent request handling, where the concurrent result is obtained by executing aCallable
on behalf of the application with anAsyncTaskExecutor
.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).org.springframework.web.servlet.mvc.support使用的org.springframework.web.context.request.async中的类 类 说明 AsyncRequestTimeoutException Exception to be thrown when an async request times out.