ContentDescriptor
,
AbstractReadHandle
,
AbstractWriteHandle
,
BinaryReadHandle
,
BinaryWriteHandle
,
GenericReadHandle
,
GenericWriteHandle
,
JSONReadHandle
,
JSONWriteHandle
,
SPARQLResultsReadHandle
,
TextReadHandle
,
TextWriteHandle
,
TriplesReadHandle
,
TriplesWriteHandle
,
XMLReadHandle
,
XMLWriteHandle
public class URIHandle extends BaseHandle<java.io.InputStream,java.io.InputStream> implements BinaryReadHandle, BinaryWriteHandle, GenericReadHandle, GenericWriteHandle, JSONReadHandle, JSONWriteHandle, TextReadHandle, TextWriteHandle, XMLReadHandle, XMLWriteHandle
UNKNOWN_LENGTH
Constructor | Description |
---|---|
URIHandle(java.lang.String host,
int port, java.lang.String basePath,
java.lang.String user,
java.lang.String password) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
check() |
|
boolean |
check(java.lang.String path) |
|
java.lang.String |
get() |
|
boolean |
isUsePut() |
|
protected
java.lang.Class<java.io.InputStream> |
receiveAs() |
|
protected void |
receiveContent(java.io.InputStream content) |
|
protected
java.io.InputStream |
sendContent() |
|
void |
set(java.lang.String path) |
|
void |
setUsePut(boolean usePut) |
|
URIHandle |
with(java.lang.String path) |
|
URIHandle |
withFormat(Format format) |
getByteLength,
getFormat,
getMimetype,
getServerTimestamp,
setByteLength,
setFormat,
setMimetype,
setServerTimestamp
public URIHandle(java.lang.String host, int port, java.lang.String basePath, java.lang.String user, java.lang.String password)
public java.lang.String get()
public void set(java.lang.String path)
public URIHandle with(java.lang.String path)
public boolean isUsePut()
public void setUsePut(boolean usePut)
public boolean check()
public boolean check(java.lang.String path)
protected java.lang.Class<java.io.InputStream> receiveAs()
receiveAs
in
class com.marklogic.client.impl.HandleImplementation<java.io.InputStream,java.io.InputStream>
protected void receiveContent(java.io.InputStream content)
receiveContent
in
class com.marklogic.client.impl.HandleImplementation<java.io.InputStream,java.io.InputStream>
protected java.io.InputStream sendContent()
sendContent
in
class com.marklogic.client.impl.HandleImplementation<java.io.InputStream,java.io.InputStream>
Copyright © 2022 MarkLogic Corporation