public static interface Body.Writer.Bytes
Modifier and Type | Method and Description |
---|---|
void |
write(OutputStream out)
Write bytes into the given
OutputStream . |
void write(OutputStream out) throws Exception
OutputStream
. The OutputStream
will be close it
automatically after this call. Clients shouldn't worry about closing
the OutputStream
.out
- The HTTP response body.Exception
- When the operation fails.Copyright © 2014. All rights reserved.