Class InputStreamHandle

java.lang.Object
com.marklogic.client.impl.HandleImplementation<R,W>
com.marklogic.client.io.BaseHandle<InputStream,InputStream>
com.marklogic.client.io.InputStreamHandle
All Implemented Interfaces:
ContentDescriptor, AbstractReadHandle, AbstractWriteHandle, BinaryReadHandle, BinaryWriteHandle, BufferableContentHandle<InputStream,InputStream>, BufferableHandle, ContentHandle<InputStream>, CtsQueryWriteHandle, DocumentMetadataReadHandle, DocumentMetadataWriteHandle, DocumentPatchHandle, GenericReadHandle, GenericWriteHandle, JSONReadHandle, JSONWriteHandle, QuadsWriteHandle, QueryOptionsListReadHandle, QueryOptionsReadHandle, QueryOptionsWriteHandle, RuleListReadHandle, RuleReadHandle, RuleWriteHandle, SearchReadHandle, SPARQLResultsReadHandle, StreamingContentHandle<InputStream,InputStream>, StructureReadHandle, StructureWriteHandle, TextReadHandle, TextWriteHandle, TriplesReadHandle, TriplesWriteHandle, TuplesReadHandle, ValuesListReadHandle, ValuesReadHandle, XMLReadHandle, XMLWriteHandle, Closeable, AutoCloseable

An InputStreamHandle represents a resource as an InputStream for reading or writing.

When writing JSON, text, or XML content, you should use an InputStream only if the stream is encoded in UTF-8. If the characters have a different encoding, use a ReaderHandle and specify the correct character encoding for the stream when creating the Reader.

Either call close() or get().close() when finished with this handle to release the resources.