Modifier and Type | Method and Description |
---|---|
static <N> N |
D1NodeFactory.buildNode(Class<N> serviceClass,
MultipartRestClient mrc,
URI uri)
Creates a
D1Node implementation for the given serviceClass . |
abstract D1Node |
NodeLocator.getCNode()
This method should return the favored CNode, so that a CN can be obtained
without NodeReference or serviceBaseUrl.
|
D1Node |
NodeLocator.getNode(NodeReference nodeReference)
Return a Node associated with the nodeReference parameter, or
throw a ClientSideException
|
D1Node |
NodeLocator.getNode(String baseUrl)
Return a node associated with the baseUrl parameter, or
throw a ClientSideException
|
Modifier and Type | Method and Description |
---|---|
InputStream |
HttpMultipartRestClient.doDeleteRequest(String url,
Integer timeoutMillisecs) |
InputStream |
MultipartRestClient.doDeleteRequest(String url,
Integer timeoutMillisecs) |
InputStream |
HttpMultipartRestClient.doGetRequest(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 |
HttpMultipartRestClient.doGetRequest(String url,
Integer timeoutMillisecs,
boolean followRedirect) |
InputStream |
MultipartRestClient.doGetRequest(String url,
Integer timeoutMillisecs,
boolean followRedirect) |
org.apache.http.Header[] |
HttpMultipartRestClient.doGetRequestForHeaders(String url,
Integer timeoutMillisecs) |
org.apache.http.Header[] |
MultipartRestClient.doGetRequestForHeaders(String url,
Integer timeoutMillisecs) |
org.apache.http.Header[] |
HttpMultipartRestClient.doHeadRequest(String url,
Integer timeoutMillisecs) |
org.apache.http.Header[] |
MultipartRestClient.doHeadRequest(String url,
Integer timeoutMillisecs) |
InputStream |
HttpMultipartRestClient.doPostRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
InputStream |
MultipartRestClient.doPostRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
InputStream |
HttpMultipartRestClient.doPutRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
InputStream |
MultipartRestClient.doPutRequest(String url,
SimpleMultipartEntity entity,
Integer timeoutMillisecs) |
Constructor and Description |
---|
DefaultHttpMultipartRestClient()
This MultipartRestClient implementation only uses the default or the set
certificate location from CertificateManager to derive the Session.
|
HttpMultipartRestClient()
creates an HttpMultipartRestClient configured with the certificate in the
default or set location in the CertificateManager.
|
HttpMultipartRestClient(org.apache.http.impl.client.HttpClientBuilder httpClientBuilder,
X509Session x509session)
This constructor is used to give users flexibility in creating the HttpClient,
but takes care of configuring the ConnectionManager with the X509Session
parameter.
|
HttpMultipartRestClient(String subjectString)
creates an HttpMultipartRestClient configured with the certificate registered
to the CertificateManager.
|
HttpMultipartRestClient(X509Session x509Session)
creates an HttpMultipartRestClient configured with the certificate
contained in the X509Session.
|
MultipartD1Node(String nodeBaseServiceUrl)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
ExampleClient.main(String[] args)
Execute the examples.
|
static void |
SimpleHttpGetClient.main(String[] args)
A simple command line interface that exercises the HttpClient and CertificateManager
to make a single HTTP/S GET call.
|
Modifier and Type | Method and Description |
---|---|
CNode |
NodeListNodeLocator.getCNode() |
void |
NodeListNodeLocator.initCnList()
Determines which CNodes will be part of the cnList.
|
Constructor and Description |
---|
MultipartCNode(String nodeBaseServiceUrl)
Deprecated.
|
MultipartMNode(String nodeBaseServiceUrl)
Deprecated.
|
NodeListNodeLocator(NodeList nl,
MultipartRestClient mrc)
The constructor populates the NodeLocator from MN and CN nodes from the
give Nodelist, building D1Node implementations using the MultipartRestClient.
|
SettingsContextNodeLocator()
Creates a NodeLocator using DefaultHttpMultipartRestClient.
|
SettingsContextNodeLocator(MultipartRestClient mrc) |
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
|
protected static MultipartRestClient |
D1Client.getMultipartRestClient() |
Modifier and Type | Method and Description |
---|---|
CNode |
NodeListNodeLocator.getCNode() |
void |
NodeListNodeLocator.initCnList()
Determines which CNodes will be part of the cnList.
|
Constructor and Description |
---|
MultipartCNode(String nodeBaseServiceUrl)
Deprecated.
|
MultipartD1Node(String nodeBaseServiceUrl)
Deprecated.
|
MultipartMNode(String nodeBaseServiceUrl)
Deprecated.
|
NodeListNodeLocator(NodeList nl,
MultipartRestClient mrc)
The constructor populates the NodeLocator from MN and CN nodes from the
give Nodelist, building D1Node implementations using the MultipartRestClient.
|
SettingsContextNodeLocator()
Creates a NodeLocator using DefaultHttpMultipartRestClient.
|
SettingsContextNodeLocator(MultipartRestClient mrc) |
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
|
protected static MultipartRestClient |
D1Client.getMultipartRestClient() |
Copyright © 2020. All Rights Reserved.