Package | Description |
---|---|
org.dataone.client | |
org.dataone.service.cn.v1 | |
org.dataone.service.mn.tier3.v1 | |
org.dataone.service.mn.tier4.v1 | |
org.dataone.service.util |
Modifier and Type | Method and Description |
---|---|
Identifier |
MNode.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta)
|
Identifier |
CNode.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta)
|
static Identifier |
D1Client.create(Session session,
D1Object d1object)
Attempts to create the given D1Object on the originMemberNode contained
in its SystemMetadata.
|
Identifier |
MNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
|
Identifier |
CNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
|
InputStream |
D1RestClient.doDeleteRequest(String url) |
InputStream |
D1RestClient.doGetRequest(String url)
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 |
D1RestClient.doGetRequest(String url,
boolean allowRedirect) |
org.apache.http.Header[] |
D1RestClient.doGetRequestForHeaders(String url) |
org.apache.http.Header[] |
D1RestClient.doHeadRequest(String url) |
InputStream |
D1RestClient.doPostRequest(String url,
SimpleMultipartEntity entity) |
InputStream |
D1RestClient.doPutRequest(String url,
SimpleMultipartEntity entity) |
boolean |
MNode.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode)
|
boolean |
MNode.replicate(SystemMetadata sysmeta,
NodeReference sourceNode)
|
Identifier |
MNode.update(Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta)
|
static Identifier |
D1Client.update(Session session,
D1Object d1object)
Perform an update an object in DataONE with the given D1Object on the
originMemberNode contained in its systemMetadata.
|
Identifier |
MNode.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta)
|
Modifier and Type | Method and Description |
---|---|
Identifier |
CNCore.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
CNCore.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
MNStorage.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Identifier |
MNStorage.update(Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Identifier |
MNStorage.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MNReplication.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode)
Deprecated.
|
boolean |
MNReplication.replicate(SystemMetadata sysmeta,
NodeReference sourceNode) |
Modifier and Type | Method and Description |
---|---|
static void |
ExceptionHandler.deserializeAndThrowException(org.apache.http.HttpResponse response) |
static void |
ExceptionHandler.deserializeAndThrowException(InputStream errorStream,
String contentType,
Integer statusCode,
String reason)
Throw the exception that is contained in an HTTP response
A response from an HTTP call may be determined to have an error.
|
static void |
ExceptionHandler.deserializeHeadersAndThrowException(int code,
org.apache.http.Header[] headers) |
static InputStream |
ExceptionHandler.filterErrors(org.apache.http.HttpResponse res) |
static InputStream |
ExceptionHandler.filterErrors(org.apache.http.HttpResponse res,
boolean allowRedirect) |
static InputStream |
ExceptionHandler.filterErrors(InputStream is,
boolean isException,
String contentType) |
static org.apache.http.Header[] |
ExceptionHandler.filterErrorsHeader(org.apache.http.HttpResponse response,
String httpMethod)
will filter serialized errors coming from the HEAD request
by deserializing them and putting on the exception thread(?).
|
Copyright © 2014. All Rights Reserved.