Package io.vrap.rmf.okhttp
Class VrapOkHttpClient
java.lang.Object
io.vrap.rmf.okhttp.VrapOkHttpClient
- All Implemented Interfaces:
VrapHttpClient
,AutoCloseable
Deprecated.
HttpClient using OkHttp
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.VrapOkHttpClient
(int maxRequests, int maxRequestsPerHost) Deprecated.VrapOkHttpClient
(BuilderOptions options) Deprecated.VrapOkHttpClient
(ExecutorService executor, int maxRequests, int maxRequestsPerHost) Deprecated.VrapOkHttpClient
(Supplier<okhttp3.OkHttpClient.Builder> builderSupplier) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Deprecated.CompletableFuture<ApiHttpResponse<byte[]>>
execute
(ApiHttpRequest request) Deprecated.
-
Constructor Details
-
VrapOkHttpClient
public VrapOkHttpClient()Deprecated. -
VrapOkHttpClient
Deprecated. -
VrapOkHttpClient
Deprecated. -
VrapOkHttpClient
public VrapOkHttpClient(int maxRequests, int maxRequestsPerHost) Deprecated. -
VrapOkHttpClient
Deprecated.
-
-
Method Details
-
execute
Deprecated.- Specified by:
execute
in interfaceVrapHttpClient
-
close
Deprecated.- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-