Package io.vrap.rmf.base.client
Class SerializerOnlyApiHttpClient
java.lang.Object
io.vrap.rmf.base.client.SerializerOnlyApiHttpClient
- All Implemented Interfaces:
ApiHttpClient
,AsyncApiClient<CompletableFuture<?>>
,CompletableFutureApiClient
,VrapHttpClient
,AutoCloseable
Implementation of a non executable
ApiHttpClient
-
Field Summary
Fields inherited from interface io.vrap.rmf.base.client.ApiHttpClient
CLOSED_MESSAGE, DEFAULT_TIMEOUT
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
CompletableFuture<ApiHttpResponse<byte[]>>
execute
(ApiHttpRequest request) static SerializerOnlyApiHttpClient
of()
static SerializerOnlyApiHttpClient
of
(ObjectMapper objectMapper) static SerializerOnlyApiHttpClient
of
(ResponseSerializer serializer) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ApiHttpClient
execute, execute, execute, execute, execute, execute, execute, execute, execute, executeBlocking, executeBlocking, executeBlocking, executeBlocking, send, sendBlocking
-
Field Details
-
NO_EXECUTABLE_API_CLIENT
- See Also:
-
-
Method Details
-
of
-
of
-
of
-
getSerializerService
- Specified by:
getSerializerService
in interfaceApiHttpClient
-
execute
- Specified by:
execute
in interfaceVrapHttpClient
-
getBaseUri
- Specified by:
getBaseUri
in interfaceApiHttpClient
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-