Package io.vrap.rmf.base.client
Interface CompletableFutureApiClient
- All Superinterfaces:
AsyncApiClient<CompletableFuture<?>>
- All Known Subinterfaces:
ApiHttpClient
,ContextApiHttpClient
- All Known Implementing Classes:
ApiHttpClientImpl
,CompatClient
,CompatSphereClient.CompatApiHttpClient
,ContextApiHttpClientImpl
,SerializerOnlyApiHttpClient
-
Method Summary
Modifier and TypeMethodDescription<O> CompletableFuture<ApiHttpResponse<O>>
execute
(ApiHttpRequest request, com.fasterxml.jackson.core.type.TypeReference<O> outputType) <O> CompletableFuture<ApiHttpResponse<O>>
execute
(ApiHttpRequest request, JavaType outputType) <O> CompletableFuture<ApiHttpResponse<O>>
execute
(ApiHttpRequest request, Class<O> outputType) <O> CompletableFuture<ApiHttpResponse<O>>
execute
(ApiHttpRequest request, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) <O> CompletableFuture<ApiHttpResponse<O>>
execute
(CreateHttpRequestCommand method, com.fasterxml.jackson.core.type.TypeReference<O> outputType) <O> CompletableFuture<ApiHttpResponse<O>>
execute
(CreateHttpRequestCommand method, JavaType outputType) <T,
O> CompletableFuture<ApiHttpResponse<O>> execute
(CreateHttpRequestCommand method, Class<O> outputType) <O> CompletableFuture<ApiHttpResponse<O>>
execute
(CreateHttpRequestCommand method, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) <O> CompletableFuture<ApiHttpResponse<O>>
execute
(HttpRequestCommand<O> method) <O> ApiHttpResponse<O>
executeBlocking
(CreateHttpRequestCommand method, com.fasterxml.jackson.core.type.TypeReference<O> outputType, Duration timeout) <O> ApiHttpResponse<O>
executeBlocking
(CreateHttpRequestCommand method, JavaType outputType, Duration timeout) <O> ApiHttpResponse<O>
executeBlocking
(CreateHttpRequestCommand method, Class<O> outputType, Duration timeout) <O> ApiHttpResponse<O>
executeBlocking
(CreateHttpRequestCommand method, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper, Duration timeout) CompletableFuture<ApiHttpResponse<byte[]>>
send
(CreateHttpRequestCommand method) <T> ApiHttpResponse<byte[]>
sendBlocking
(CreateHttpRequestCommand method, Duration timeout)
-
Method Details
-
execute
- Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
<O> CompletableFuture<ApiHttpResponse<O>> execute(ApiHttpRequest request, com.fasterxml.jackson.core.type.TypeReference<O> outputType) - Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
- Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
<O> CompletableFuture<ApiHttpResponse<O>> execute(ApiHttpRequest request, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) - Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
- Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
<T,O> CompletableFuture<ApiHttpResponse<O>> execute(CreateHttpRequestCommand method, Class<O> outputType) - Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
<O> CompletableFuture<ApiHttpResponse<O>> execute(CreateHttpRequestCommand method, JavaType outputType) - Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
<O> CompletableFuture<ApiHttpResponse<O>> execute(CreateHttpRequestCommand method, com.fasterxml.jackson.core.type.TypeReference<O> outputType) - Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
execute
<O> CompletableFuture<ApiHttpResponse<O>> execute(CreateHttpRequestCommand method, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) - Specified by:
execute
in interfaceAsyncApiClient<CompletableFuture<?>>
-
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper, Duration timeout) - Specified by:
executeBlocking
in interfaceAsyncApiClient<CompletableFuture<?>>
-
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, Class<O> outputType, Duration timeout) - Specified by:
executeBlocking
in interfaceAsyncApiClient<CompletableFuture<?>>
-
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, JavaType outputType, Duration timeout) - Specified by:
executeBlocking
in interfaceAsyncApiClient<CompletableFuture<?>>
-
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, com.fasterxml.jackson.core.type.TypeReference<O> outputType, Duration timeout) - Specified by:
executeBlocking
in interfaceAsyncApiClient<CompletableFuture<?>>
-
send
- Specified by:
send
in interfaceAsyncApiClient<CompletableFuture<?>>
-
sendBlocking
- Specified by:
sendBlocking
in interfaceAsyncApiClient<CompletableFuture<?>>
-