private class InterceptingAsyncClientHttpRequest.AsyncRequestExecution extends java.lang.Object implements AsyncClientHttpRequestExecution
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<AsyncClientHttpRequestInterceptor> |
iterator |
Constructor and Description |
---|
AsyncRequestExecution() |
Modifier and Type | Method and Description |
---|---|
ListenableFuture<ClientHttpResponse> |
executeAsync(HttpRequest request,
byte[] body)
Resume the request execution by invoking the next interceptor in the chain
or executing the request to the remote service.
|
private java.util.Iterator<AsyncClientHttpRequestInterceptor> iterator
public ListenableFuture<ClientHttpResponse> executeAsync(HttpRequest request, byte[] body) throws java.io.IOException
AsyncClientHttpRequestExecution
executeAsync
in interface AsyncClientHttpRequestExecution
request
- the HTTP request, containing the HTTP method and headersbody
- the body of the requestjava.io.IOException
- in case of I/O errors