public interface AsyncClientHttpRequestExecution
Used to invoke the next interceptor in the interceptor chain, or - if the calling interceptor is last - execute the request itself.
AsyncClientHttpRequestInterceptor
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.
|
ListenableFuture<ClientHttpResponse> executeAsync(HttpRequest request, byte[] body) throws java.io.IOException
request
- the HTTP request, containing the HTTP method and headersbody
- the body of the requestjava.io.IOException
- in case of I/O errors