| Package | Description |
|---|---|
| com.oracle.bmc.http.internal | |
| com.oracle.bmc.responses.internal | |
| com.oracle.bmc.util.internal | |
| com.oracle.bmc.waiter | |
| com.oracle.bmc.waiter.internal |
| Modifier and Type | Method and Description |
|---|---|
<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
|
<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
|
<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
|
<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
|
<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
|
<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
|
| Constructor and Description |
|---|
ErrorConsumer(AsyncHandler<REQUEST,?> handler,
REQUEST request) |
SuccessConsumer(AsyncHandler<REQUEST,RESPONSE> handler,
Function<javax.ws.rs.core.Response,RESPONSE> transformer,
REQUEST request) |
| Modifier and Type | Class and Description |
|---|---|
class |
ForwardingAsyncHandler<REQUEST,RESPONSE> |
class |
NoOpAsyncHandler<REQUEST,RESPONSE>
An async handler that doesn’t do anything.
|
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.
|
| Constructor and Description |
|---|
ForwardingAsyncHandler(AsyncHandler<REQUEST,RESPONSE> delegate) |
StreamClosingAsyncHandler(AsyncHandler<REQUEST,RESPONSE> delegate) |
| 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.
|
class |
RefreshAuthTokenWrappingAsyncHandler<REQUEST,RESPONSE>
Deprecated.
in favor of RefreshAuthTokenWrapper – versions after 1.25.1 do not use RefreshAuthTokenWrappingAsyncHandler anymore
|
| Constructor and Description |
|---|
RefreshAuthTokenWrapper(RefreshableOnNotAuthenticatedProvider<?> authDetailsProvider,
AsyncHandler<REQUEST,RESPONSE> innerHandler,
Function<AsyncHandler<REQUEST,RESPONSE>,Future<RESPONSE>> futureSupplier) |
RefreshAuthTokenWrappingAsyncHandler(RefreshableOnNotAuthenticatedProvider<?> authDetailsProvider,
AsyncHandler<REQUEST,RESPONSE> innerHandler)
Deprecated.
|
| Constructor and Description |
|---|
RefreshAuthTokenWrapper(RefreshableOnNotAuthenticatedProvider<?> authDetailsProvider,
AsyncHandler<REQUEST,RESPONSE> innerHandler,
Function<AsyncHandler<REQUEST,RESPONSE>,Future<RESPONSE>> futureSupplier) |
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
Waiter.execute(AsyncHandler<REQUEST,RESPONSE> asyncHandler)
Executes the waiter callback and returns a Future.
|
| Modifier and Type | Method and Description |
|---|---|
Future<Void> |
SimpleWaiterImpl.execute(AsyncHandler<REQUEST,RESPONSE> asyncHandler) |
Copyright © 2016–2022. All rights reserved.