Package | Description |
---|---|
org.dataone.client.v1.impl | |
org.dataone.client.v2.impl | |
org.dataone.service.cn.v1 | |
org.dataone.service.cn.v2 | |
org.dataone.service.util |
Modifier and Type | Method and Description |
---|---|
Subject |
MultipartCNode.registerAccount(Person person) |
Subject |
MultipartCNode.registerAccount(Session session,
Person person) |
Subject |
MultipartCNode.updateAccount(Person person) |
Subject |
MultipartCNode.updateAccount(Session session,
Person person) |
Modifier and Type | Method and Description |
---|---|
Subject |
MultipartCNode.registerAccount(Session session,
Person person) |
Subject |
MultipartCNode.updateAccount(Session session,
Person person) |
Modifier and Type | Method and Description |
---|---|
Subject |
CNIdentity.registerAccount(Person person) |
Subject |
CNIdentity.registerAccount(Session session,
Person person)
Deprecated.
|
Subject |
CNIdentity.updateAccount(Person person) |
Subject |
CNIdentity.updateAccount(Session session,
Person person)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Subject |
CNIdentity.registerAccount(Session session,
Person person) |
Subject |
CNIdentity.updateAccount(Session session,
Person person) |
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.