Java 类org.springframework.web.context.request.async.CallableProcessingInterceptorAdapter 实例源码

项目:spring4-understanding    文件:WebMvcConfigurationSupportExtensionTests.java   
@Override
public void configureAsyncSupport(AsyncSupportConfigurer configurer) {
    configurer.setDefaultTimeout(2500).setTaskExecutor(new ConcurrentTaskExecutor())
        .registerCallableInterceptors(new CallableProcessingInterceptorAdapter() { })
        .registerDeferredResultInterceptors(new DeferredResultProcessingInterceptorAdapter() {});
}
项目:class-guard    文件:WebMvcConfigurationSupportExtensionTests.java   
@Override
public void configureAsyncSupport(AsyncSupportConfigurer configurer) {
    configurer.setDefaultTimeout(2500).setTaskExecutor(new ConcurrentTaskExecutor())
        .registerCallableInterceptors(new CallableProcessingInterceptorAdapter() { })
        .registerDeferredResultInterceptors(new DeferredResultProcessingInterceptorAdapter() {});
}