Package io.vrap.rmf.base.client
Interface AsyncApiClient<TReturn>
- All Known Subinterfaces:
ApiHttpClient
,CompletableFutureApiClient
,ContextApiHttpClient
- All Known Implementing Classes:
ApiHttpClientImpl
,CompatClient
,CompatSphereClient.CompatApiHttpClient
,ContextApiHttpClientImpl
,SerializerOnlyApiHttpClient
public interface AsyncApiClient<TReturn>
-
Method Summary
Modifier and TypeMethodDescription<O> TReturn
execute
(ApiHttpRequest request, com.fasterxml.jackson.core.type.TypeReference<O> outputType) <O> TReturn
execute
(ApiHttpRequest request, JavaType outputType) <O> TReturn
execute
(ApiHttpRequest request, Class<O> outputType) <O> TReturn
execute
(ApiHttpRequest request, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) <O> TReturn
execute
(CreateHttpRequestCommand method, com.fasterxml.jackson.core.type.TypeReference<O> outputType) <O> TReturn
execute
(CreateHttpRequestCommand method, JavaType outputType) <T,
O> TReturn execute
(CreateHttpRequestCommand method, Class<O> outputType) <O> TReturn
execute
(CreateHttpRequestCommand method, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) <O> TReturn
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) <T> TReturn
send
(CreateHttpRequestCommand method) <T> ApiHttpResponse<byte[]>
sendBlocking
(CreateHttpRequestCommand method, Duration timeout)
-
Method Details
-
execute
-
execute
<O> TReturn execute(ApiHttpRequest request, com.fasterxml.jackson.core.type.TypeReference<O> outputType) -
execute
-
execute
<O> TReturn execute(ApiHttpRequest request, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) -
execute
-
execute
-
execute
-
execute
<O> TReturn execute(CreateHttpRequestCommand method, com.fasterxml.jackson.core.type.TypeReference<O> outputType) -
execute
<O> TReturn execute(CreateHttpRequestCommand method, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper) -
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, Function<ApiHttpResponse<byte[]>, ApiHttpResponse<O>> mapper, Duration timeout) -
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, Class<O> outputType, Duration timeout) -
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, JavaType outputType, Duration timeout) -
executeBlocking
<O> ApiHttpResponse<O> executeBlocking(CreateHttpRequestCommand method, com.fasterxml.jackson.core.type.TypeReference<O> outputType, Duration timeout) -
send
-
sendBlocking
-