ContentDescriptor,
AbstractReadHandle,
AbstractWriteHandle,
BufferableContentHandle<T, InputStream>, BufferableHandle,
ContentHandle<T>,
CtsQueryWriteHandle,
DocumentMetadataReadHandle,
DocumentMetadataWriteHandle,
DocumentPatchHandle,
JSONReadHandle,
JSONWriteHandle,
QueryOptionsListReadHandle,
QueryOptionsReadHandle,
QueryOptionsWriteHandle,
ResendableContentHandle<T, InputStream>, RuleListReadHandle,
RuleReadHandle,
RuleWriteHandle,
SearchReadHandle,
SPARQLResultsReadHandle,
StructureReadHandle,
StructureWriteHandle,
TextReadHandle,
TextWriteHandle,
TriplesReadHandle,
TriplesWriteHandle,
TuplesReadHandle,
ValuesListReadHandle,
ValuesReadHandle,
XMLReadHandle,
XMLWriteHandle,
OutputStreamSenderUNKNOWN_LENGTHJacksonDatabindHandle (Class<T> contentClass)JacksonDatabindHandle (T content)get()com.fasterxml.jackson.databind.ObjectMapperprotected booleanstatic ContentHandleFactorynewFactory (com.fasterxml.jackson.databind.ObjectMapper mapper,
Class<?>... pojoClasses)static ContentHandleFactorynewFactory (Class<?>... pojoClasses)newHandleArray (int length)protected voidreceiveContent (InputStream content)protected OutputStreamSenderprotected OutputStreamSendersendContent (T content)voidvoidsetMapper (com.fasterxml.jackson.databind.ObjectMapper mapper)toContent (InputStream serialization)withFormat (Format format)withMimetype (String mimetype)voidwrite (OutputStream out)bytesToContent, contentToBytes, fromBuffer, receiveAs,
toBuffer, toStringgetByteLength,
getFormat, getMimetype, getServerTimestamp,
setByteLength,
setFormat,
setMimetype,
setServerTimestampgetPointInTimeQueryTimestamp, isResendable,
setPointInTimeQueryTimestamp, setResendable,
setResponseServerTimestampclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbytesToContent,
contentToBytes,
resendableHandleForfromBuffer,
toBuffernewArraynewHandle,
resendableHandleForcontentClass - the class of your custom POJO for
databindingcontent - the POJO which should be serializedpojoClasses - the POJO classes for which this
factory provides a handlemapper - the Jackson ObjectMapper for marshaling
the POJO classespojoClasses - the POJO classes for which this
factory provides a handleformat - the format of the contentmimetype - the mime type of the contentget in
interface ContentHandle<T>get in
class com.marklogic.client.impl.JacksonBaseHandle<T>JacksonDatabindHandle(Object) or
set(Object) or if the content is
being de-serialized, a pojo of the specified type populated with
the dataset in
interface ContentHandle<T>set in
class com.marklogic.client.impl.JacksonBaseHandle<T>content - your custom POJOcontent - your custom POJOContentHandlegetContentClass in
interface ContentHandle<T>ContentHandlenewHandle in
interface BufferableContentHandle<T, InputStream>newHandle in
interface ContentHandle<T>newHandle in
interface ResendableContentHandle<T, InputStream>BufferableContentHandlenewHandleArray in
interface BufferableContentHandle<T, InputStream>newHandleArray in
interface ResendableContentHandle<T, InputStream>length - the number of positions in the arraygetMapper in
class com.marklogic.client.impl.JacksonBaseHandle<T>
ObjectMapper mapper = new CsvMapper();
mapper.configure(JsonGenerator.Feature.AUTO_CLOSE_TARGET, false);
mapper.configure(JsonParser.Feature.AUTO_CLOSE_SOURCE, false);
handle.setMapper(mapper);
Use at your own risk! Note that you most likely want to set to
false the two options we demonstrate above
(JsonGenerator.Feature.AUTO_CLOSE_TARGET and
JsonParser.Feature.AUTO_CLOSE_SOURCE) as we do so your mapper will
not close streams which we may need to reuse if we have to resend a
network request.setMapper in
class com.marklogic.client.impl.JacksonBaseHandle<T>BufferableContentHandletoContent in
interface BufferableContentHandle<T, InputStream>toContent in
class com.marklogic.client.impl.JacksonBaseHandle<T>serialization - a serialization of the
contenthasContent in
class com.marklogic.client.impl.JacksonBaseHandle<T>sendContent in
class com.marklogic.client.impl.HandleImplementation<InputStream, OutputStreamSender>sendContent in
class com.marklogic.client.impl.JacksonBaseHandle<T>receiveContent in
class com.marklogic.client.impl.HandleImplementation<InputStream, OutputStreamSender>OutputStreamSenderwrite in
interface OutputStreamSenderout - the output stream receiving the contentIOException - if io problems ariseCopyright (c) 2010-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.