Package | Description |
---|---|
org.dataone.client | |
org.dataone.client.examples | |
org.dataone.client.impl | |
org.dataone.client.impl.rest | |
org.dataone.client.itk | |
org.dataone.client.rest |
Modifier and Type | Method and Description |
---|---|
abstract CNode |
NodeLocator.getCNode()
This method should return the favored CNode, so that a CN can be obtained
without NodeReference or serviceBaseUrl.
|
CNode |
NodeLocator.getCNode(NodeReference nodeReference)
Return a CNode associated with the nodeReference parameter, or
throw a ClientSideException.
|
CNode |
NodeLocator.getCNode(String baseUrl)
Return a CNode associated with the baseUrl parameter, or
throw a ClientSideException
|
MNode |
NodeLocator.getMNode(NodeReference nodeReference)
Return an MNode associated with the nodeReference parameter, or
throw a ClientSideException
|
MNode |
NodeLocator.getMNode(String baseUrl)
Return an MNode associated with the baseUrl parameter, or
throw a ClientSideException
|
Modifier and Type | Method and Description |
---|---|
static void |
ExampleClient.main(String[] args)
Execute the examples.
|
Modifier and Type | Method and Description |
---|---|
static CNode |
D1NodeFactory.buildCNode(MultipartRestClient mrc,
URI uri)
Instantiate a CNode instance of the right type from the given URI
and the provided MultipartRestClient
|
CNode |
D1NodeFactory.buildCNode(URI uri)
Instantiate a CNode instance of the right type from the given URI
|
static MNode |
D1NodeFactory.buildMNode(MultipartRestClient mrc,
URI uri)
Instantiate an MNode instance of the right type from the given URI
and the provided MultipartRestClient
|
MNode |
D1NodeFactory.buildMNode(URI uri)
Instantiate an MNode instance of the right type from the given URI
|
CNode |
NodeListNodeLocator.getCNode() |
Constructor and Description |
---|
NodeListNodeLocator(NodeList nl,
MultipartRestClient mrc) |
SettingsContextNodeLocator()
Creates a NodeLocator usinga DefaultHttpMultipartRestClient.
|
SettingsContextNodeLocator(MultipartRestClient mrc) |
Modifier and Type | Method and Description |
---|---|
InputStream |
HttpMultipartRestClient.doDeleteRequest(String url,
Integer timeoutMillisecs) |
InputStream |
HttpMultipartRestClient.doGetRequest(String url,
Integer timeoutMillisecs) |
InputStream |
HttpMultipartRestClient.doGetRequest(String url,
Integer timeoutMillisecs,
boolean allowRedirect) |
org.apache.http.Header[] |
HttpMultipartRestClient.doGetRequestForHeaders(String url,
Integer timeoutMillisecs) |
org.apache.http.Header[] |
HttpMultipartRestClient.doHeadRequest(String url,
Integer timeoutMillisecs) |
InputStream |
HttpMultipartRestClient.doPostRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
InputStream |
HttpMultipartRestClient.doPutRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
Modifier and Type | Method and Description |
---|---|
void |
DataPackage.addAndDownloadData(Identifier id)
Puts an object with the given Identifier to the package's local, temporary
data store.
|
static DataPackage |
DataPackage.deserializePackage(String resourceMap)
Deserialize an ORE resourceMap by parsing it, extracting the associated package identifier,
and the list of metadata and data objects aggregated in the ORE Map.
|
static DataPackage |
DataPackage.download(Identifier pid)
Download the resource map
|
Modifier and Type | Method and Description |
---|---|
InputStream |
MultipartRestClient.doDeleteRequest(String url,
Integer timeoutMillisecs) |
InputStream |
MultipartRestClient.doGetRequest(String url,
Integer timeoutMillisecs)
Perform an HTTP GET request, setting the headers first and parsing /filtering
exceptions to the exception stream on the response into their
respective java instances.
|
InputStream |
MultipartRestClient.doGetRequest(String url,
Integer timeoutMillisecs,
boolean allowRedirect) |
org.apache.http.Header[] |
MultipartRestClient.doGetRequestForHeaders(String url,
Integer timeoutMillisecs) |
org.apache.http.Header[] |
MultipartRestClient.doHeadRequest(String url,
Integer timeoutMillisecs) |
InputStream |
MultipartRestClient.doPostRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
InputStream |
MultipartRestClient.doPutRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
Copyright © 2014. All Rights Reserved.