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
    Constructor
    Description
    OkHttpClient(okhttp3.OkHttpClient client)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    CompletionStage<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, wait

    Methods 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:
      execute in interface ru.tinkoff.kora.http.client.common.HttpClient