Class OutputStreamHandle

java.lang.Object
com.marklogic.client.impl.HandleImplementation<R,W>
All Implemented Interfaces:
ContentDescriptor, AbstractWriteHandle, BinaryWriteHandle, CtsQueryWriteHandle, DocumentMetadataWriteHandle, DocumentPatchHandle, GenericWriteHandle, JSONWriteHandle, QueryOptionsWriteHandle, RuleWriteHandle, StructureWriteHandle, TextWriteHandle, TriplesWriteHandle, XMLWriteHandle

An OutputStreamHandle generates output during writing. You define a class that implements the OutputStreamSender interface. When the client is ready to write to the server, it calls the write() method of the class with an OutputStream. That is, the write() method generates the output to be written to the server. The OutputStreamSender implementer is typically an anonymous class. Initialize the OutputStreamHandle with the OutputStreamSender implementer before passing the OutputStreamHandle to the write() method of a document manager.