C - the handled content representationR - the serialization when reading the contentAbstractReadHandle, AbstractWriteHandle, BufferableContentHandle<C,R>, BufferableHandle, ContentHandle<C>BytesHandle, DOM4JHandle, DOMHandle, FileHandle, GSONHandle, JacksonDatabindHandle, JacksonHandle, JAXBHandle, JDOMHandle, StringHandlepublic interface ResendableContentHandle<C,R> extends BufferableContentHandle<C,R>
| Modifier and Type | Method | Description |
|---|---|---|
ResendableContentHandle<C,R> |
newHandle() |
Constructs a new handle for the same content representation,
initializing the new handle with the same format and mime type.
|
default ResendableContentHandle<C,R> |
newHandle(C content) |
Constructs a new handle for the same content representation,
initializing the new handle with the same format and mime type
and new content.
|
ResendableContentHandle<C,R>[] |
newHandleArray(int length) |
Constructs an uninitialized array with the specified length with items
of the same content representation.
|
default ResendableContentHandle<C,R> |
resendableHandleFor(C content) |
Provides a handle that can resend the content.
|
bytesToContent, contentToBytes, resendableHandleFor, toContentfromBuffer, toBufferget, getContentClass, newArray, setResendableContentHandle<C,R> newHandle()
ContentHandlenewHandle in interface BufferableContentHandle<C,R>newHandle in interface ContentHandle<C>ResendableContentHandle<C,R>[] newHandleArray(int length)
BufferableContentHandlenewHandleArray in interface BufferableContentHandle<C,R>length - the number of positions in the arraydefault ResendableContentHandle<C,R> newHandle(C content)
ContentHandlenewHandle in interface BufferableContentHandle<C,R>newHandle in interface ContentHandle<C>content - the new content to initialize the new handledefault ResendableContentHandle<C,R> resendableHandleFor(C content)
BufferableContentHandleresendableHandleFor in interface BufferableContentHandle<C,R>content - the contentCopyright © 2013-2021 MarkLogic Corporation.