Class CtOkHttp3Client

java.lang.Object
io.vrap.rmf.base.client.HttpClientBase
com.commercetools.http.okhttp3.CtOkHttp3Client
All Implemented Interfaces:
io.vrap.rmf.base.client.VrapHttpClient, Closeable, AutoCloseable

public class CtOkHttp3Client extends io.vrap.rmf.base.client.HttpClientBase
  • Field Details

  • Constructor Details

    • CtOkHttp3Client

      public CtOkHttp3Client()
    • CtOkHttp3Client

      public CtOkHttp3Client(BuilderOptions options)
    • CtOkHttp3Client

      public CtOkHttp3Client(Supplier<okhttp3.OkHttpClient.Builder> builderSupplier)
    • CtOkHttp3Client

      public CtOkHttp3Client(int maxRequests, int maxRequestsPerHost)
    • CtOkHttp3Client

      public CtOkHttp3Client(int maxRequests, int maxRequestsPerHost, BuilderOptions options)
    • CtOkHttp3Client

      public CtOkHttp3Client(ExecutorService executor)
    • CtOkHttp3Client

      public CtOkHttp3Client(ExecutorService executor, BuilderOptions options)
    • CtOkHttp3Client

      public CtOkHttp3Client(ExecutorService executor, int maxRequests, int maxRequestsPerHost)
    • CtOkHttp3Client

      public CtOkHttp3Client(ExecutorService executor, int maxRequests, int maxRequestsPerHost, BuilderOptions options)
  • Method Details

    • createDispatcher

      public okhttp3.Dispatcher createDispatcher(int maxRequests, int maxRequestsPerHost)
    • createDispatcher

      public okhttp3.Dispatcher createDispatcher(ExecutorService executor, int maxRequests, int maxRequestsPerHost)
    • execute

      public CompletableFuture<io.vrap.rmf.base.client.ApiHttpResponse<byte[]>> execute(io.vrap.rmf.base.client.ApiHttpRequest request)
    • closeDelegate

      public void closeDelegate() throws IOException
      Throws:
      IOException