Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
Modifier and Type | Method and Description |
---|---|
protected AsyncSupportConfigurer |
WebMvcConfigurationSupport.getAsyncSupportConfigurer()
Callback for building the
AsyncSupportConfigurer . |
AsyncSupportConfigurer |
AsyncSupportConfigurer.registerCallableInterceptors(CallableProcessingInterceptor... interceptors)
Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a
Callable . |
AsyncSupportConfigurer |
AsyncSupportConfigurer.registerDeferredResultInterceptors(DeferredResultProcessingInterceptor... interceptors)
Configure lifecycle interceptors with callbacks around concurrent request
execution that starts when a controller returns a
DeferredResult . |
AsyncSupportConfigurer |
AsyncSupportConfigurer.setDefaultTimeout(long timeout)
Specify the amount of time, in milliseconds, before asynchronous request
handling times out.
|
AsyncSupportConfigurer |
AsyncSupportConfigurer.setTaskExecutor(AsyncTaskExecutor taskExecutor)
The provided task executor is used to:
Handle
Callable controller method return values. |
Modifier and Type | Method and Description |
---|---|
default void |
WebMvcConfigurer.configureAsyncSupport(AsyncSupportConfigurer configurer)
Configure asynchronous request handling options.
|
protected void |
DelegatingWebMvcConfiguration.configureAsyncSupport(AsyncSupportConfigurer configurer) |
protected void |
WebMvcConfigurationSupport.configureAsyncSupport(AsyncSupportConfigurer configurer)
Override this method to configure asynchronous request processing options.
|
void |
WebMvcConfigurerAdapter.configureAsyncSupport(AsyncSupportConfigurer configurer)
Deprecated.
Configure asynchronous request handling options.
|