getBody() access.
setBody
| Modifier and Type | Class and Description |
|---|---|
| public static interface | StreamingHttpOutputMessage.
Defines the contract for bodies that can be written directly to an
|
| Modifier and Type | Method and Description |
|---|---|
| public void | setBody(StreamingHttpOutputMessage.
the streaming body callback bodySet the streaming body callback for this message. |
| setBody | back to summary |
|---|---|
| public void setBody(StreamingHttpOutputMessage. Set the streaming body callback for this message.
| |
OutputStream. Useful with HTTP client libraries that provide
indirect access to an OutputStream via a callback mechanism.
| Modifier and Type | Method and Description |
|---|---|
| public default boolean | Returns: true if this body can be written repeatedly,
false otherwiseIndicates whether this body is capable of writing its data more than once. |
| public void | writeTo(OutputStream
the output stream to write to outputStream)Write this body to the given |
| repeatable | back to summary |
|---|---|
| public default boolean repeatable() Indicates whether this body is capable of
writing its data more than
once. The default implementation returns
| |
| writeTo | back to summary |
|---|---|
| public void writeTo(OutputStream outputStream) throws IOException Write this body to the given
| |