Interface OkHttpClientBuilderProvider

    • Method Detail

      • supports

        default java.lang.Boolean supports​(ServiceEndpoint service)
        Returns whether or not the provider supports the provided service endpoint.
        Parameters:
        service - service configuration
        Returns:
        true if supports the url given
      • get

        okhttp3.OkHttpClient.Builder get​(ServiceEndpoint service)
        Creates a new and customized OkHttpClient.Builder for the provided service.
        Parameters:
        service - service config
        Returns:
        the builder