public class InterceptingAsyncClientHttpRequestFactory extends java.lang.Object implements AsyncClientHttpRequestFactory
AsyncClientHttpRequestFactory that has support for
 AsyncClientHttpRequestInterceptors.InterceptingAsyncClientHttpRequest| Constructor and Description | 
|---|
InterceptingAsyncClientHttpRequestFactory(AsyncClientHttpRequestFactory delegate,
                                         java.util.List<AsyncClientHttpRequestInterceptor> interceptors)
Create new instance of  
InterceptingAsyncClientHttpRequestFactory
 with delegated request factory and list of interceptors. | 
| Modifier and Type | Method and Description | 
|---|---|
AsyncClientHttpRequest | 
createAsyncRequest(java.net.URI uri,
                  HttpMethod method)
Create a new asynchronous  
AsyncClientHttpRequest for the specified URI
 and HTTP method. | 
public InterceptingAsyncClientHttpRequestFactory(AsyncClientHttpRequestFactory delegate, java.util.List<AsyncClientHttpRequestInterceptor> interceptors)
InterceptingAsyncClientHttpRequestFactory
 with delegated request factory and list of interceptors.delegate - the request factory to delegate tointerceptors - the list of interceptors to usepublic AsyncClientHttpRequest createAsyncRequest(java.net.URI uri, HttpMethod method)
AsyncClientHttpRequestFactoryAsyncClientHttpRequest for the specified URI
 and HTTP method.
 The returned request can be written to, and then executed by calling
 AsyncClientHttpRequest.executeAsync().
createAsyncRequest in interface AsyncClientHttpRequestFactoryuri - the URI to create a request formethod - the HTTP method to execute