ClientHttpRequest that buffers output
in a byte array before sending it over the wire.
| Modifier and Type | Field and Description |
|---|---|
| private final FastByteArrayOutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected ClientHttpResponse | executeInternal(HttpHeaders
the HTTP headers headers)Implements abstract org. |
| protected abstract ClientHttpResponse | Returns: the response object for the executed requestthe HTTP headers headers, byte[] the body content bufferedOutput)Abstract template method that writes the given headers and content to the HTTP request. |
| protected OutputStream | getBodyInternal(HttpHeaders
the HTTP headers headers)Implements abstract org. |
| bufferedOutput | back to summary |
|---|---|
| private final FastByteArrayOutputStream bufferedOutput | |
| AbstractBufferingClientHttpRequest | back to summary |
|---|---|
| pack-priv AbstractBufferingClientHttpRequest() | |
| executeInternal | back to summary |
|---|---|
| protected ClientHttpResponse executeInternal(HttpHeaders headers) throws IOException Implements abstract org. Doc from org. Abstract template method that writes the given headers and content to the HTTP request.
| |
| executeInternal | back to summary |
|---|---|
| protected abstract ClientHttpResponse executeInternal(HttpHeaders headers, byte[] bufferedOutput) throws IOException Abstract template method that writes the given headers and content to the HTTP request.
| |
| getBodyInternal | back to summary |
|---|---|
| protected OutputStream getBodyInternal(HttpHeaders headers) throws IOException Implements abstract org. Doc from org. Abstract template method that returns the body.
| |