| Package | Description |
|---|---|
| com.oracle.bmc | |
| com.oracle.bmc.http.internal | |
| com.oracle.bmc.model |
| Modifier and Type | Field and Description |
|---|---|
static ServiceDetails |
ServiceDetails.UNKNOWN_SERVICE_DETAILS |
| Modifier and Type | Method and Description |
|---|---|
<T> Function<javax.ws.rs.core.Response,WithHeaders<T>> |
ResponseConversionFunctionFactoryV2.create(Class<T> clazz,
ServiceDetails serviceDetails)
Creates a Function that will convert the Response into the given object type.
|
<T> com.google.common.base.Function<javax.ws.rs.core.Response,WithHeaders<T>> |
ResponseConversionFunctionFactory.create(Class<T> clazz,
ServiceDetails serviceDetails)
Deprecated.
all clients of this version or newer use
ResponseConversionFunctionFactoryV2 instead |
<T> Function<javax.ws.rs.core.Response,WithHeaders<T>> |
ResponseConversionFunctionFactoryV2.create(javax.ws.rs.core.GenericType<T> type,
ServiceDetails serviceDetails)
Creates a Function that will convert the Response into a parameterized collection object,
or some other parameterized type.
|
<T> com.google.common.base.Function<javax.ws.rs.core.Response,WithHeaders<T>> |
ResponseConversionFunctionFactory.create(javax.ws.rs.core.GenericType<T> type,
ServiceDetails serviceDetails)
Deprecated.
all clients of this version or newer use
ResponseConversionFunctionFactoryV2 instead |
Function<javax.ws.rs.core.Response,WithHeaders<Void>> |
ResponseConversionFunctionFactoryV2.create(ServiceDetails serviceDetails)
Creates a Function that will not convert the Response into any given type, just
return the headers.
|
com.google.common.base.Function<javax.ws.rs.core.Response,WithHeaders<Void>> |
ResponseConversionFunctionFactory.create(ServiceDetails serviceDetails)
Deprecated.
all clients of this version or newer use
ResponseConversionFunctionFactoryV2 instead |
static void |
ResponseHelper.throwIfNotSuccessful(javax.ws.rs.core.Response response,
ServiceDetails serviceDetails)
Throws BmcException if the response status is not in the family
Family.SUCCESSFUL, or is not Status.NOT_MODIFIED.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceDetails |
BmcException.getServiceDetails()
Gets the service details of the failed Exception.
|
| Constructor and Description |
|---|
BmcException(int statusCode,
String serviceCode,
String message,
String opcRequestId,
ServiceDetails serviceDetails) |
BmcException(int statusCode,
String serviceCode,
String message,
String opcRequestId,
ServiceDetails serviceDetails,
String originalMessage,
String originalMessageTemplate,
Map<String,String> templateArguments) |
BmcException(int statusCode,
String serviceCode,
String message,
String opcRequestId,
Throwable cause,
ServiceDetails serviceDetails) |
Copyright © 2016–2022. All rights reserved.