Class HttpClientSupplier
java.lang.Object
com.helixframework.rules.rule.rest.HttpClientSupplier
- All Implemented Interfaces:
Supplier<okhttp3.OkHttpClient>
Supplier that supplies a singleton instance of the
OkHttpClient.-
Method Summary
Modifier and TypeMethodDescriptionokhttp3.OkHttpClientget()Gets the http client.static HttpClientSupplierGets the singleton instance ofHttpClientSupplier.
-
Method Details
-
getInstance
Gets the singleton instance ofHttpClientSupplier.- Returns:
- supplier instance
-
get
public okhttp3.OkHttpClient get()Gets the http client.
-