| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List | |
| private AsyncTaskExecutor | |
| private Long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected List | |
| protected List | |
| protected AsyncTaskExecutor | |
| protected Long | |
| public AsyncSupportConfigurer | registerCallableInterceptors(CallableProcessingInterceptor...
the interceptors to register interceptors)Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a
|
| public AsyncSupportConfigurer | registerDeferredResultInterceptors(DeferredResultProcessingInterceptor...
the interceptors to register interceptors)Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a |
| public AsyncSupportConfigurer | setDefaultTimeout(long
the timeout value in milliseconds timeout)Specify the amount of time, in milliseconds, before asynchronous request handling times out. |
| public AsyncSupportConfigurer | setTaskExecutor(AsyncTaskExecutor
the task executor instance to use by default taskExecutor)The provided task executor is used for the following:
|
| callableInterceptors | back to summary |
|---|---|
| private final List<CallableProcessingInterceptor> callableInterceptors | |
| deferredResultInterceptors | back to summary |
|---|---|
| private final List<DeferredResultProcessingInterceptor> deferredResultInterceptors | |
| taskExecutor | back to summary |
|---|---|
| private AsyncTaskExecutor taskExecutor
| |
| timeout | back to summary |
|---|---|
| private Long timeout
| |
| AsyncSupportConfigurer | back to summary |
|---|---|
| public AsyncSupportConfigurer() | |
| getCallableInterceptors | back to summary |
|---|---|
| protected List | |
| getDeferredResultInterceptors | back to summary |
|---|---|
| protected List | |
| getTaskExecutor | back to summary |
|---|---|
protected AsyncTaskExecutor getTaskExecutor()
| |
| getTimeout | back to summary |
|---|---|
protected Long getTimeout()
| |
| registerCallableInterceptors | back to summary |
|---|---|
| public AsyncSupportConfigurer registerCallableInterceptors(CallableProcessingInterceptor... interceptors) Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a
| |
| registerDeferredResultInterceptors | back to summary |
|---|---|
| public AsyncSupportConfigurer registerDeferredResultInterceptors(DeferredResultProcessingInterceptor... interceptors) Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a
| |
| setDefaultTimeout | back to summary |
|---|---|
| public AsyncSupportConfigurer setDefaultTimeout(long timeout) Specify the amount of time, in milliseconds, before asynchronous request handling times out. In Servlet 3, the timeout begins after the main request processing thread has exited and ends when the request is dispatched again for further processing of the concurrently produced result. If this value is not set, the default timeout of the underlying implementation is used.
| |
| setTaskExecutor | back to summary |
|---|---|
| public AsyncSupportConfigurer setTaskExecutor(AsyncTaskExecutor taskExecutor) The provided task executor is used for the following:
If your application has controllers with such return types, please
configure an
| |