ClientHttpRequest that also implement
StreamingHttpOutputMessage. Ensures that headers and
body are not written multiple times.
| Modifier and Type | Field and Description |
|---|---|
| private StreamingHttpOutputMessage. | |
| private FastByteArrayOutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected final ClientHttpResponse | executeInternal(HttpHeaders
the HTTP headers headers)Implements abstract org. Abstract template method that writes the given headers and content to the HTTP request. |
| protected abstract ClientHttpResponse | Returns: the response object for the executed requestthe HTTP headers headers, StreamingHttpOutputMessage.the HTTP body, may be bodynull if no body was setAbstract template method that writes the given headers and content to the HTTP request. |
| protected final OutputStream | getBodyInternal(HttpHeaders
the HTTP headers headers)Implements abstract org. Abstract template method that returns the body. |
| public final void | setBody(StreamingHttpOutputMessage.
the streaming body callback bodyImplements org. Set the streaming body callback for this message. |
| body | back to summary |
|---|---|
| private StreamingHttpOutputMessage. | |
| bodyStream | back to summary |
|---|---|
| private FastByteArrayOutputStream bodyStream
| |
| AbstractStreamingClientHttpRequest | back to summary |
|---|---|
| pack-priv AbstractStreamingClientHttpRequest() | |
| executeInternal | back to summary |
|---|---|
| protected final 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, StreamingHttpOutputMessage. Abstract template method that writes the given headers and content to the HTTP request.
| |
| getBodyInternal | back to summary |
|---|---|
| protected final OutputStream getBodyInternal(HttpHeaders headers) Implements abstract org. Doc from org. Abstract template method that returns the body.
| |
| setBody | back to summary |
|---|---|
| public final void setBody(StreamingHttpOutputMessage. Implements org. Doc from org. Set the streaming body callback for this message.
| |