public static interface ResourceServices.ServiceResult
ServiceResult provides one content response from a service.
| Modifier and Type | Method and Description |
|---|---|
<R extends AbstractReadHandle> |
getContent(R handle)
Returns a handle on the content.
|
Format |
getFormat()
Returns the format of the content.
|
long |
getLength()
Returns the length of the content in bytes.
|
String |
getMimetype()
Returns the mimetype of the content.
|
Format getFormat()
Returns the format of the content.
String getMimetype()
Returns the mimetype of the content.
long getLength()
Returns the length of the content in bytes.
<R extends AbstractReadHandle> R getContent(R handle)
Returns a handle on the content.
R - the type of AbstractReadHandle to returnhandle - the content handleCopyright © 2013-2017 MarkLogic Corporation.