| Package | Description |
|---|---|
| com.oracle.bmc.http | |
| com.oracle.bmc.http.internal | |
| com.oracle.bmc.requests | |
| com.oracle.bmc.responses.internal | |
| com.oracle.bmc.retrier | |
| com.oracle.bmc.util.internal |
| Modifier and Type | Method and Description |
|---|---|
default void |
ClientConfigurator.customizeRequest(BmcRequest<?> request,
WrappedInvocationBuilder ib)
Customize a request before it is made.
|
void |
ApacheConfigurator.customizeRequest(BmcRequest<?> request,
WrappedInvocationBuilder ib) |
void |
CompositeClientConfigurator.customizeRequest(BmcRequest<?> request,
WrappedInvocationBuilder ib) |
void |
DefaultConfigurator.customizeRequest(BmcRequest<?> request,
WrappedInvocationBuilder ib) |
void |
DefaultConfigurator.NonBuffering.customizeRequest(BmcRequest<?> request,
WrappedInvocationBuilder ib) |
| Modifier and Type | Method and Description |
|---|---|
<T extends BmcRequest> |
RestClient.delete(WrappedInvocationBuilder ib,
T request)
Execute a delete on a resource and get the response.
|
<T extends BmcRequest> |
RestClient.delete(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Execute a delete on a resource asynchronously and get the response.
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.deleteFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the delete request and returns the future. |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.deleteFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use the method without Guava parameters instead
|
<T extends BmcRequest> |
RestClient.get(WrappedInvocationBuilder ib,
T request)
Request a resource.
|
<T extends BmcRequest> |
RestClient.get(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Request a resource asynchronously.
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.getFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the get request and returns the future. |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.getFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
Use the method without Guava parameters instead
|
<T extends BmcRequest> |
RestClient.head(WrappedInvocationBuilder ib,
T request)
Execute a head request for a resource and return the response.
|
<T extends BmcRequest> |
RestClient.head(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Execute a head request for a resource asynchronously and return the
response.
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.headFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the head request and returns the future. |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.headFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use method without Guava parameters instead
|
<T extends BmcRequest> |
RestClient.patch(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.patch(WrappedInvocationBuilder ib,
Object body,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Patch a request object to the endpoint represented by the web target
asynchronously and get the response.
|
<T extends BmcRequest> |
RestClient.patch(WrappedInvocationBuilder ib,
T request)
Patch a request object without body to the endpoint represented by the web target and
get the response.
|
<T extends BmcRequest> |
RestClient.patch(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Patch a request object without body to the endpoint represented by the web target
asynchronously and get the response.
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.patchFutureSupplier(REQUEST interceptedRequest,
Object body,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the patch request and returns the future |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.patchFutureSupplier(REQUEST interceptedRequest,
Object body,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use method without Guava parameters instead
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.patchFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the patch request and returns the future |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.patchFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use method without Guava parameters instead
|
<T extends BmcRequest> |
RestClient.post(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.post(WrappedInvocationBuilder ib,
Object body,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Post a request object to the endpoint represented by the web target
asynchronously and get the response.
|
<T extends BmcRequest> |
RestClient.post(WrappedInvocationBuilder ib,
T request)
Post an empty body to the endpoint represented by the web target and get
the response.
|
<T extends BmcRequest> |
RestClient.post(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Post an empty body to the endpoint represented by the web target
asynchronously and get the response.
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.postFutureSupplier(REQUEST interceptedRequest,
Object body,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the post request and returns
the future |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.postFutureSupplier(REQUEST interceptedRequest,
Object body,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use the method without Guava parameters instead
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.postFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the post request and returns the future |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.postFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use method without GUava parameters instead
|
<T extends BmcRequest> |
RestClient.put(WrappedInvocationBuilder ib,
Object body,
T request)
Put a request object to the endpoint represented by the web target and
get the response.
|
<T extends BmcRequest> |
RestClient.put(WrappedInvocationBuilder ib,
Object body,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Put a request object to the endpoint represented by the web target
asynchronously and get the response.
|
<T extends BmcRequest> |
RestClient.put(WrappedInvocationBuilder ib,
T request)
Put a request object without body to the endpoint represented by the web target and
get the response.
|
<T extends BmcRequest> |
RestClient.put(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Put a request object without body to the endpoint represented by the web target
asynchronously and get the response.
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.putFutureSupplier(REQUEST interceptedRequest,
Object body,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the put request and returns the future |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.putFutureSupplier(REQUEST interceptedRequest,
Object body,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use the method without Guava parameters instead
|
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.putFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Return the function that, given an
AsyncHandler, makes the put request and returns the future |
<B,REQUEST extends BmcRequest<B>,RESPONSE> |
RestClient.putFutureSupplier(REQUEST interceptedRequest,
WrappedInvocationBuilder ib,
com.google.common.base.Function<javax.ws.rs.core.Response,RESPONSE> transformer)
Deprecated.
use the method without Guava parameters instead
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
BmcRequest.Builder<T extends BmcRequest<B>,B>
Builder interface for requests.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StreamClosingAsyncHandler<REQUEST extends BmcRequest<?>,RESPONSE>
A wrapper around an async handler that closes the stream at the end of a request, if the body is a stream.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends BmcRequest<InputStream>> |
Retriers.wrapBodyInputStreamIfNecessary(T request,
BmcRequest.Builder<T,InputStream> builder)
Wrap the input stream in the request so retries can work.
|
| Modifier and Type | Class and Description |
|---|---|
class |
RefreshAuthTokenWrapper<REQUEST extends BmcRequest<?>,RESPONSE>
Combined future and callbacks for asynchronous requests intended to work with some authenticated calls, like
instance principals.
|
Copyright © 2016–2022. All rights reserved.