Examples of AsyncWebRequestInterceptor


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

    this.requestInterceptor.afterCompletion(new DispatcherServletWebRequest(request, response), ex);
  }

  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);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.