public static interface StreamingHttpOutputMessage.Body
OutputStream
.
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)
Write this body to the given
OutputStream . |
void writeTo(OutputStream outputStream) throws IOException
OutputStream
.outputStream
- the output stream to write toIOException
- in case of errors