Example usage for org.springframework.web.context.request.async DeferredResultProcessingInterceptor beforeConcurrentHandling

List of usage examples for org.springframework.web.context.request.async DeferredResultProcessingInterceptor beforeConcurrentHandling

Introduction

In this page you can find the example usage for org.springframework.web.context.request.async DeferredResultProcessingInterceptor beforeConcurrentHandling.

Prototype

default <T> void beforeConcurrentHandling(NativeWebRequest request, DeferredResult<T> deferredResult)
        throws Exception 

Source Link

Document

Invoked immediately before the start of concurrent handling, in the same thread that started it.

Usage

From source file:org.springframework.web.context.request.async.DeferredResultInterceptorChain.java

public void applyBeforeConcurrentHandling(NativeWebRequest request, DeferredResult<?> deferredResult)
        throws Exception {

    for (DeferredResultProcessingInterceptor interceptor : this.interceptors) {
        interceptor.beforeConcurrentHandling(request, deferredResult);
    }/*  ww  w.  j  av a 2 s .co m*/
}