public interface OutputStreamSender
An Output Stream Sender sends content to the database by writing to the provided OutputStream.
When writing JSON, text, or XML content, you should use an OutputStream only only to write bytes for characters encoded in UTF-8. If the bytes provide characters with a different encoding, convert the bytes using the java.nio.charset.CharsetDecoder class.
| Modifier and Type | Method and Description |
|---|---|
void |
write(OutputStream out)
Implements a callback to write content to the provided output stream for sending to the database server.
|
void write(OutputStream out) throws IOException
Implements a callback to write content to the provided output stream for sending to the database server.
out - the output stream receiving the contentIOException - if io problems ariseCopyright © 2013-2017 MarkLogic Corporation.