Package | Description |
---|---|
com.oracle.bmc.auth.exception | |
com.oracle.bmc.http.internal | |
com.oracle.bmc.retrier |
Modifier and Type | Class and Description |
---|---|
class |
AuthClientException
Authentication client exception.
|
class |
AuthClientForbiddenException
Exception thrown when the client failed to authorize to the auth service using configured key suppliers
|
class |
AuthClientNotAuthorizedException
Exception thrown when the client failed to authenticate to the auth service using configured key suppliers.
|
class |
AuthServerException
Exception thrown when something goes wrong on the authentication server.
|
class |
AuthServerUnavailableException
Exception thrown when the authentication server is unavailable.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AuthClientForbiddenException.matches(BmcException cause)
Return true if the exception is a “client forbidden” exception.
|
static boolean |
AuthServerUnavailableException.matches(BmcException cause)
Return true if the exception is a “server unavailable” exception.
|
static boolean |
AuthClientNotAuthorizedException.matches(BmcException cause)
Return true if the exception is a “client unauthorized” exception.
|
Constructor and Description |
---|
AuthClientException(String message,
BmcException cause)
Create a wrapper around an authentication client exception.
|
AuthClientForbiddenException(BmcException e) |
AuthClientForbiddenException(String message,
BmcException cause) |
AuthClientNotAuthorizedException(BmcException e) |
AuthClientNotAuthorizedException(String message,
BmcException cause) |
AuthServerException(BmcException e) |
AuthServerException(String message,
BmcException cause) |
AuthServerUnavailableException(BmcException e) |
AuthServerUnavailableException(String message,
BmcException cause) |
Modifier and Type | Method and Description |
---|---|
<T extends BmcRequest> |
RestClient.delete(@NonNull WrappedInvocationBuilder ib,
T request)
Execute a delete on a resource and get the response.
|
<T extends BmcRequest> |
RestClient.get(@NonNull WrappedInvocationBuilder ib,
T request)
Request a resource.
|
<T extends BmcRequest> |
RestClient.head(@NonNull WrappedInvocationBuilder ib,
T request)
Execute a head request for a resource and return the response.
|
<T extends BmcRequest> |
RestClient.patch(@NonNull WrappedInvocationBuilder ib,
Object body,
T request)
Patch a request object to the endpoint represented by the web target and
get the response.
|
<T extends BmcRequest> |
RestClient.post(@NonNull WrappedInvocationBuilder ib,
Object body,
T request)
Post a request object to the endpoint represented by the web target and
get the response.
|
<T extends BmcRequest> |
RestClient.put(@NonNull WrappedInvocationBuilder ib,
Object body,
T request)
Put a request object to the endpoint represented by the web target and
get the response.
|
static <T> T |
ResponseHelper.readEntity(@NonNull javax.ws.rs.core.Response response,
Class<T> entityType)
Reads an entity out of the given response if its status code is 2xx or 304.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
DefaultRetryCondition.isProcessingException(BmcException exception) |
boolean |
DefaultRetryCondition.shouldBeRetried(@NonNull BmcException exception) |
boolean |
RetryCondition.shouldBeRetried(@NonNull BmcException exception)
Check if the operation should be retried.
|
Copyright © 2016–2022. All rights reserved.