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

项目:spring4-understanding    文件:WebRequestHandlerInterceptorAdapter.java   
@Override
public void afterConcurrentHandlingStarted(HttpServletRequest request, HttpServletResponse response, Object handler) {
    if (this.requestInterceptor instanceof AsyncWebRequestInterceptor) {
        AsyncWebRequestInterceptor asyncInterceptor = (AsyncWebRequestInterceptor) this.requestInterceptor;
        DispatcherServletWebRequest webRequest = new DispatcherServletWebRequest(request, response);
        asyncInterceptor.afterConcurrentHandlingStarted(webRequest);
    }
}
项目:class-guard    文件:WebRequestHandlerInterceptorAdapter.java   
public void afterConcurrentHandlingStarted(HttpServletRequest request, HttpServletResponse response, Object handler) {
    if (this.requestInterceptor instanceof AsyncWebRequestInterceptor) {
        AsyncWebRequestInterceptor asyncInterceptor = (AsyncWebRequestInterceptor) this.requestInterceptor;
        DispatcherServletWebRequest webRequest = new DispatcherServletWebRequest(request, response);
        asyncInterceptor.afterConcurrentHandlingStarted(webRequest);
    }
}