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) |
Modifier and Type | Method and Description |
---|---|
static ServiceFailure |
ExceptionUtils.recastDataONEExceptionToServiceFailure(BaseException be)
A helper function for recasting DataONE exceptions to ServiceFailures while
preserving the detail code and TraceDetails.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
boolean |
MultipartCNode.setReplicationStatus(Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
boolean |
MultipartCNode.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
Modifier and Type | Method and Description |
---|---|
boolean |
MultipartCNode.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
Modifier and Type | Method and Description |
---|---|
boolean |
CNReplication.setReplicationStatus(Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
boolean |
CNReplication.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
CNReplication.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
Modifier and Type | Class and Description |
---|---|
class |
AuthenticationTimeout
The DataONE AuthenticationTimeout exception, raised when authentication
operations exceed pre-established limits.
|
class |
IdentifierNotUnique
The DataONE IdentifierNotUnique exception, raised when a requested
identifier has already been used or reserved.
|
class |
InsufficientResources
The DataONE InsufficientResources exception, raised when insufficient space,
bandwidth, or other resources are available to complete a request.
|
class |
InvalidCredentials
The DataONE InvalidCredentials exception, raised when a request
is issued for which the credentials were not validated.
|
class |
InvalidRequest
The DataONE InvalidRequest exception, raised when a request
is issued for which one or more parameters provided in the call were invalid.
|
class |
InvalidSystemMetadata
The DataONE InvalidSystemMetadata exception, raised when a request
is issued and the supplied system metadata is invalid.
|
class |
InvalidToken
The DataONE InvalidToken exception, raised when supplied authentication
token could not be verified as being valid.
|
class |
NotAuthorized
The DataONE NotAuthorized exception, raised when the supplied identity
information is not authorized for the requested operation.
|
class |
NotFound
The DataONE NotFound exception, raised when an object is not present
on the node where the exception was raised.
|
class |
NotImplemented
The DataONE NotImplemented exception, raised when a request
is issued for a service that is not implemented by this node.
|
class |
ServiceFailure
The DataONE ServiceFailure exception, raised when a requested
service was called but failed to execute the service request due to an
internal error, such as misconfiguration, or a missing resource such as
a missing data connection, etc.
|
class |
SynchronizationFailed
The DataONE SynchronizationFailed exception, used as a callback message
to a Member Node from a Coordinating Node when an attempt to synchronize
some object fails.
|
class |
UnsupportedMetadataType
The DataONE UnsupportedMetadataType exception, raised when the science
metadata document submitted is not of a type that is recognized by
the DataONE system.
|
class |
UnsupportedType
The DataONE UnsupportedType exception, raised when the information
presented appears to be unsupported.
|
class |
VersionMismatch
The DataONE VersionMismatch exception, raised when the serialVersion
supplied with the request does not match the serialVersion of the target
|
Modifier and Type | Method and Description |
---|---|
static <T> BaseException |
ExceptionHandler.deserializeXml(InputStream errorStream,
String defaultMessage) |
Copyright © 2020. All Rights Reserved.