Class BaseOkHttpClient

java.lang.Object
org.dmfs.httpessentials.okhttp.okhttpclient.BaseOkHttpClient
All Implemented Interfaces:
org.dmfs.jems.fragile.Fragile<okhttp3.OkHttpClient,RuntimeException>, org.dmfs.jems.single.Single<okhttp3.OkHttpClient>, org.dmfs.jems2.Fragile<okhttp3.OkHttpClient,RuntimeException>

public final class BaseOkHttpClient extends Object implements org.dmfs.jems.single.Single<okhttp3.OkHttpClient>
A Single basic OkHttpClient. No configuration if performed, other than disabling following redirects.
  • Constructor Details

    • BaseOkHttpClient

      public BaseOkHttpClient()
  • Method Details

    • value

      public okhttp3.OkHttpClient value()
      Specified by:
      value in interface org.dmfs.jems.fragile.Fragile<okhttp3.OkHttpClient,RuntimeException>
      Specified by:
      value in interface org.dmfs.jems2.Fragile<okhttp3.OkHttpClient,RuntimeException>
      Specified by:
      value in interface org.dmfs.jems.single.Single<okhttp3.OkHttpClient>