Package io.vrap.rmf.base.client
Class BaseHttpClientSupplier
java.lang.Object
io.vrap.rmf.base.client.BaseHttpClientSupplier
- All Implemented Interfaces:
ExecutorHttpClientSupplier
,HttpClientSupplier
,Supplier<VrapHttpClient>
- Direct Known Subclasses:
ApacheHttpClientSupplier
,AsyncHttpClientSupplier
,JavaNetHttpClientSupplier
,NettyHttpClientSupplier
,OkHttp3ClientSupplier
,OkHttp4ClientSupplier
In order to work, the sdk needs an
VrapHttpClient
provider, this can be done by extending HttpClientSupplier
and exposing it as a service-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract VrapHttpClient
get()
TheVrapHttpClient
provider methodabstract Supplier<VrapHttpClient>
get
(ExecutorService executorService)
-
Constructor Details
-
BaseHttpClientSupplier
public BaseHttpClientSupplier()
-
-
Method Details
-
get
TheVrapHttpClient
provider method- Specified by:
get
in interfaceSupplier<VrapHttpClient>
- Returns:
- HttpClient implementation
-
get
- Specified by:
get
in interfaceExecutorHttpClientSupplier
-