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 IOException
request
- the request, containing method, URI, and headersbody
- the body of the request to executeIOException
- in case of I/O errors