org.springframework.web.context.request.AsyncWebRequestInterceptor Java Examples

The following examples show how to use org.springframework.web.context.request.AsyncWebRequestInterceptor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: spring-analysis-note   Author: Vip-Augus   File: WebRequestHandlerInterceptorAdapter.java    License: MIT License 5 votes vote down vote up
@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);
	}
}
 
Example #2
Source Project: java-technology-stack   Author: codeEngraver   File: WebRequestHandlerInterceptorAdapter.java    License: MIT License 5 votes vote down vote up
@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);
	}
}
 
Example #3
Source Project: lams   Author: lamsfoundation   File: WebRequestHandlerInterceptorAdapter.java    License: GNU General Public License v2.0 5 votes vote down vote up
@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);
	}
}
 
Example #4
Source Project: spring4-understanding   Author: langtianya   File: WebRequestHandlerInterceptorAdapter.java    License: Apache License 2.0 5 votes vote down vote up
@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);
	}
}