Interface OkHttpClientFactory
-
- All Known Implementing Classes:
DefaultOkHttpClientFactory
public interface OkHttpClientFactory
Creates newOkHttpClient
s.- Author:
- Ryan Baxter
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OkHttpClientFactory.DisableValidationTrustManager
AX509TrustManager
that does not validate SSL certificates.static class
OkHttpClientFactory.TrustAllHostnames
AHostnameVerifier
that does not validate any hostnames.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description okhttp3.OkHttpClient.Builder
createBuilder(boolean disableSslValidation)
Creates aOkHttpClient.Builder
used to build anOkHttpClient
.
-