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 . |
Modifier and Type | Method and Description |
---|---|
MultipartRestClient |
AuthTokenSession.getMultipartRestClient() |
MultipartRestClient |
X509Session.getMultipartRestClient() |
Modifier and Type | Method and Description |
---|---|
void |
AuthTokenSession.setMultipartRestClient(MultipartRestClient multipartRestClient) |
void |
X509Session.setMultipartRestClient(MultipartRestClient multipartRestClient) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpMultipartRestClient
This subclass of HttpMultiparRestClient registers itself as an Observer of
CertificateManager, and updates its Restclient's HttpClient with a new one
using the CertificateManager's default certificate logic.
|
class |
HttpMultipartRestClient
This class wraps the RestClient, adding uniform exception deserialization and
the setup of SSL for standard DataONE communications.
|
Modifier and Type | Field and Description |
---|---|
protected MultipartRestClient |
MultipartD1Node.defaultRestClient
the D1Node instance adapter / connector to the RESTful service endpoints
|
protected MultipartRestClient |
MultipartD1Node.latestRestClient
the latest MRC used to make an API call
|
Modifier and Type | Method and Description |
---|---|
protected MultipartRestClient |
MultipartD1Node.getRestClient(Session sessionFromMethod)
API methods should use this method to get the MultipartRestClient to
be used for the call.
|
Constructor and Description |
---|
MultipartD1Node(MultipartRestClient client,
String nodeBaseServiceUrl)
Convenience constructor to create a new instance.
|
MultipartD1Node(MultipartRestClient client,
String nodeBaseServiceUrl,
Session session)
Users can set either a default RestClient or default Session that will
build a RestClient configured appropriately from the information in the
Session.
|
Modifier and Type | Field and Description |
---|---|
protected MultipartRestClient |
NodeListNodeLocator.client |
Constructor and Description |
---|
MultipartCNode(MultipartRestClient mrc,
String nodeBaseServiceUrl)
Construct a new client-side MultipartCNode (Coordinating Node) object,
passing in the base url of the member node for calling its services.
|
MultipartCNode(MultipartRestClient mrc,
String nodeBaseServiceUrl,
Session session)
Construct a new client-side MultipartCNode (Coordinating Node) object,
passing in the base url of the member node for calling its services,
and the Session to use for connections to that node.
|
MultipartMNode(MultipartRestClient mrc,
String nodeBaseServiceUrl)
Construct a new client-side MultipartMNode (Member Node) object,
passing in the base url of the member node for calling its services.
|
MultipartMNode(MultipartRestClient mrc,
String nodeBaseServiceUrl,
Session session)
Construct a new client-side MultipartMNode (Member Node) object,
passing in the base url of the member node for calling its services,
and the Session to use for connections to that node.
|
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(MultipartRestClient mrc) |
Modifier and Type | Field and Description |
---|---|
protected static MultipartRestClient |
D1Client.multipartRestClient |
Modifier and Type | Method and Description |
---|---|
protected static MultipartRestClient |
D1Client.getMultipartRestClient() |
Modifier and Type | Field and Description |
---|---|
protected MultipartRestClient |
NodeListNodeLocator.client |
Constructor and Description |
---|
MultipartCNode(MultipartRestClient mrc,
String nodeBaseServiceUrl)
Construct a new client-side MultipartCNode (Coordinating Node) object,
passing in the base url of the member node for calling its services.
|
MultipartCNode(MultipartRestClient mrc,
String nodeBaseServiceUrl,
Session session)
Construct a new client-side MultipartCNode (Coordinating Node) object,
passing in the base url of the member node for calling its services,
and the Session to use for connections to that node.
|
MultipartD1Node(MultipartRestClient client,
String nodeBaseServiceUrl) |
MultipartD1Node(MultipartRestClient client,
String nodeBaseServiceUrl,
Session session) |
MultipartMNode(MultipartRestClient mrc,
String nodeBaseServiceUrl)
Construct a new client-side MultipartMNode (Member Node) object,
passing in the base url of the member node for calling its services.
|
MultipartMNode(MultipartRestClient mrc,
String nodeBaseServiceUrl,
Session session)
Construct a new client-side MultipartMNode (Member Node) object,
passing in the base url of the member node for calling its services,
and the Session to use for connections to that node.
|
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(MultipartRestClient mrc) |
Modifier and Type | Field and Description |
---|---|
protected static MultipartRestClient |
D1Client.multipartRestClient |
Modifier and Type | Method and Description |
---|---|
protected static MultipartRestClient |
D1Client.getMultipartRestClient() |
Copyright © 2020. All Rights Reserved.