| Package | Description |
|---|---|
| com.oracle.bmc.http.internal | |
| com.oracle.bmc.requests |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorConsumer<REQUEST>
Basic Consumer type to handle failed calls.
|
class |
SuccessConsumer<REQUEST,RESPONSE>
Basic Consumer to handle successful calls.
|
| Modifier and Type | Method and Description |
|---|---|
<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.
|
<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.
|
<T extends BmcRequest> |
RestClient.get(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Request a resource asynchronously.
|
<T extends BmcRequest> |
RestClient.get(WrappedInvocationBuilder ib,
T request,
Consumer<javax.ws.rs.core.Response> onSuccess,
Consumer<Throwable> onError)
Request a resource asynchronously.
|
<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.
|
<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.
|
<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,
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,
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.
|
<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.
|
<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,
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,
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.
|
<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.
|
<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,
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,
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.
|
<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.
|
| Modifier and Type | Method and Description |
|---|---|
Consumer<javax.ws.rs.client.Invocation.Builder> |
BmcRequest.getInvocationCallback()
Optional consumer that will be invoked before the actual REST call is made.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BmcRequest.setInvocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Optional consumer that will be invoked before the actual REST call is made.
|
Copyright © 2016–2022. All rights reserved.