Package ru.tinkoff.kora.http.client.ok
Class OkHttpClient
java.lang.Object
ru.tinkoff.kora.http.client.ok.OkHttpClient
- All Implemented Interfaces:
ru.tinkoff.kora.http.client.common.HttpClient
public final class OkHttpClient
extends Object
implements ru.tinkoff.kora.http.client.common.HttpClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletionStage<ru.tinkoff.kora.http.client.common.response.HttpClientResponse>execute(ru.tinkoff.kora.http.client.common.request.HttpClientRequest request) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ru.tinkoff.kora.http.client.common.HttpClient
with
-
Constructor Details
-
OkHttpClient
public OkHttpClient(okhttp3.OkHttpClient client)
-
-
Method Details
-
execute
public CompletionStage<ru.tinkoff.kora.http.client.common.response.HttpClientResponse> execute(ru.tinkoff.kora.http.client.common.request.HttpClientRequest request) - Specified by:
executein interfaceru.tinkoff.kora.http.client.common.HttpClient
-