Package io.vrap.rmf.base.client
Class ApiHttpClientImpl
java.lang.Object
io.vrap.rmf.base.client.AutoCloseableService
io.vrap.rmf.base.client.ApiHttpClientImpl
- All Implemented Interfaces:
ApiHttpClient
,AsyncApiClient<CompletableFuture<?>>
,CompletableFutureApiClient
,VrapHttpClient
,AutoCloseable
Default implementation of an
ApiHttpClient
-
Field Summary
Fields inherited from interface io.vrap.rmf.base.client.ApiHttpClient
CLOSED_MESSAGE, DEFAULT_TIMEOUT
-
Constructor Summary
ConstructorDescriptionApiHttpClientImpl
(String baseUri, HandlerStack stack) ApiHttpClientImpl
(URI baseUri, HandlerStack stack) ApiHttpClientImpl
(URI baseUri, HandlerStack stack, ResponseSerializer serializer) -
Method Summary
Modifier and TypeMethodDescriptionboolean
CompletableFuture<ApiHttpResponse<byte[]>>
execute
(ApiHttpRequest request) int
hashCode()
int
toString()
Methods inherited from class io.vrap.rmf.base.client.AutoCloseableService
close, closeQuietly
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
Methods inherited from interface java.lang.AutoCloseable
close
-
Constructor Details
-
ApiHttpClientImpl
-
ApiHttpClientImpl
-
ApiHttpClientImpl
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceVrapHttpClient
-
getBaseUri
- Specified by:
getBaseUri
in interfaceApiHttpClient
-
getSerializerService
- Specified by:
getSerializerService
in interfaceApiHttpClient
-
equals
- Overrides:
equals
in classAutoCloseableService
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAutoCloseableService
-
toString
-
reflectionHashCode
public int reflectionHashCode()
-