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
,
StringHandle
public 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,
toContent
fromBuffer,
toBuffer
get,
getContentClass,
newArray,
set
ResendableContentHandle<C,R> newHandle()
ContentHandle
newHandle
in interface BufferableContentHandle<C,R>
newHandle
in interface ContentHandle<C>
ResendableContentHandle<C,R>[] newHandleArray(int length)
BufferableContentHandle
newHandleArray
in interface BufferableContentHandle<C,R>
length
- the number of positions in the arraydefault ResendableContentHandle<C,R> newHandle(C content)
ContentHandle
newHandle
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)
BufferableContentHandle
resendableHandleFor
in
interface BufferableContentHandle<C,R>
content
- the contentCopyright © 2022 MarkLogic Corporation