Interface OkHttpClientFactory

  • All Known Implementing Classes:
    DefaultOkHttpClientFactory

    public interface OkHttpClientFactory
    Creates new OkHttpClients.
    Author:
    Ryan Baxter
    • Method Detail

      • createBuilder

        okhttp3.OkHttpClient.Builder createBuilder​(boolean disableSslValidation)
        Creates a OkHttpClient.Builder used to build an OkHttpClient.
        Parameters:
        disableSslValidation - Disables SSL validation
        Returns:
        A new OkHttpClient.Builder