public interface ClientHttpRequestExecution
Used to invoke the next interceptor in the interceptor chain, or - if the calling interceptor is last - execute the request itself.
ClientHttpRequestInterceptor
Modifier and Type | Method and Description |
---|---|
ClientHttpResponse |
execute(HttpRequest request,
byte[] body)
Execute the request with the given request attributes and body,
and return the response.
|
ClientHttpResponse execute(HttpRequest request, byte[] body) throws java.io.IOException
request
- the request, containing method, URI, and headersbody
- the body of the request to executejava.io.IOException
- in case of I/O errors