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.
|
Identifier |
CNCore.registerSystemMetadata(Identifier pid,
SystemMetadata sysmeta) |
Identifier |
CNCore.registerSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
CNCore.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
InputStream |
CNDiagnostic.echoIndexedObject(Session session,
String queryEngine,
SystemMetadata sysmeta,
InputStream object) |
SystemMetadata |
CNDiagnostic.echoSystemMetadata(Session session,
SystemMetadata sysmeta) |
Identifier |
CNCore.registerSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
boolean |
CNCore.synchronize(Session session,
Identifier pid) |
boolean |
CNCore.updateSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
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) |
boolean |
MNStorage.updateSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AuthUtils.isCNAuthorityForSystemMetadataUpdate(NodeList nodelist,
SystemMetadata systemMetadata)
the CN is the authority for systemMetadata updates only for v1 MNs that
implement MNStorage services.
|
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 © 2019. All Rights Reserved.