public static interface StreamingHttpOutputMessage.Body
OuputStream
. It is useful with HTTP client libraries that provide indirect
access to an OutputStream
via a callback mechanism.Modifier and Type | Method and Description |
---|---|
void |
writeTo(OutputStream outputStream)
Writes this body to the given
OuputStream . |
void writeTo(OutputStream outputStream) throws IOException
OuputStream
.outputStream
- the output stream to write toIOException
- in case of errors