Interface OkHttpClientFactory
-
- All Known Implementing Classes:
DefaultOkHttpClientFactory
public interface OkHttpClientFactoryCreates newOkHttpClients.- Author:
- Ryan Baxter
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classOkHttpClientFactory.DisableValidationTrustManagerAX509TrustManagerthat does not validate SSL certificates.static classOkHttpClientFactory.TrustAllHostnamesAHostnameVerifierthat does not validate any hostnames.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description okhttp3.OkHttpClient.BuildercreateBuilder(boolean disableSslValidation)Creates aOkHttpClient.Builderused to build anOkHttpClient.
-