final class BufferingClientHttpRequestWrapper extends AbstractBufferingClientHttpRequest
ClientHttpRequest
that wraps another request.Modifier and Type | Field and Description |
---|---|
private ClientHttpRequest |
request |
Constructor and Description |
---|
BufferingClientHttpRequestWrapper(ClientHttpRequest request) |
Modifier and Type | Method and Description |
---|---|
protected ClientHttpResponse |
executeInternal(HttpHeaders headers,
byte[] bufferedOutput)
Abstract template method that writes the given headers and content to the HTTP request.
|
HttpMethod |
getMethod()
Return the HTTP method of the request.
|
java.net.URI |
getURI()
Return the URI of the request.
|
executeInternal, getBodyInternal
assertNotExecuted, execute, getBody, getHeaders
private final ClientHttpRequest request
BufferingClientHttpRequestWrapper(ClientHttpRequest request)
public HttpMethod getMethod()
HttpRequest
public java.net.URI getURI()
HttpRequest
protected ClientHttpResponse executeInternal(HttpHeaders headers, byte[] bufferedOutput) throws java.io.IOException
AbstractBufferingClientHttpRequest
executeInternal
in class AbstractBufferingClientHttpRequest
headers
- the HTTP headersbufferedOutput
- the body contentjava.io.IOException