Modifier and Type | Method and Description |
---|---|
Identifier |
MultipartMNode.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartCNode.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartCNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Subject |
MultipartCNode.createGroup(Group group) |
Subject |
MultipartCNode.createGroup(Session session,
Group group) |
boolean |
MultipartCNode.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
boolean |
MultipartCNode.mapIdentity(Subject primarySubject,
Subject secondarySubject) |
NodeReference |
MultipartCNode.register(Node node) |
NodeReference |
MultipartCNode.register(Session session,
Node node) |
Subject |
MultipartCNode.registerAccount(Person person) |
Subject |
MultipartCNode.registerAccount(Session session,
Person person) |
boolean |
MultipartCNode.requestMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.requestMapIdentity(Subject subject) |
Identifier |
MultipartCNode.reserveIdentifier(Identifier pid) |
Identifier |
MultipartCNode.reserveIdentifier(Session session,
Identifier pid) |
Identifier |
MultipartMNode.update(Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Modifier and Type | Method and Description |
---|---|
static Identifier |
D1Client.create(Session session,
D1Object d1object)
Attempts to create the given D1Object on the originMemberNode contained
in its SystemMetadata.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
MultipartCNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Subject |
MultipartCNode.createGroup(Session session,
Group group) |
SystemMetadata |
MultipartCNode.echoSystemMetadata(Session session,
SystemMetadata sysmeta) |
boolean |
MultipartCNode.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
NodeReference |
MultipartCNode.register(Session session,
Node node) |
Subject |
MultipartCNode.registerAccount(Session session,
Person person) |
boolean |
MultipartCNode.requestMapIdentity(Session session,
Subject subject) |
Identifier |
MultipartCNode.reserveIdentifier(Session session,
Identifier pid) |
Identifier |
MultipartMNode.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.
|
Subject |
CNIdentity.createGroup(Group group) |
Subject |
CNIdentity.createGroup(Session session,
Group group)
Deprecated.
|
boolean |
CNIdentity.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject)
Deprecated.
|
boolean |
CNIdentity.mapIdentity(Subject primarySubject,
Subject secondarySubject) |
NodeReference |
CNRegister.register(Node node) |
NodeReference |
CNRegister.register(Session session,
Node node)
Deprecated.
|
Subject |
CNIdentity.registerAccount(Person person) |
Subject |
CNIdentity.registerAccount(Session session,
Person person)
Deprecated.
|
boolean |
CNIdentity.requestMapIdentity(Session session,
Subject subject)
Deprecated.
|
boolean |
CNIdentity.requestMapIdentity(Subject subject) |
Identifier |
CNCore.reserveIdentifier(Identifier pid) |
Identifier |
CNCore.reserveIdentifier(Session session,
Identifier pid)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
CNCore.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Subject |
CNIdentity.createGroup(Session session,
Group group) |
SystemMetadata |
CNDiagnostic.echoSystemMetadata(Session session,
SystemMetadata sysmeta) |
boolean |
CNIdentity.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
NodeReference |
CNRegister.register(Session session,
Node node) |
Subject |
CNIdentity.registerAccount(Session session,
Person person) |
boolean |
CNIdentity.requestMapIdentity(Session session,
Subject subject) |
Identifier |
CNCore.reserveIdentifier(Session session,
Identifier id) |
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 |
---|---|
Identifier |
MNStorage.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
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 response,
boolean allowRedirects)
This method maps an HttpResponse onto an InputStream by consuming the
response headers and throwing an exception when appropriate.
|
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 © 2020. All Rights Reserved.