Class OkHttpClientProvider


  • @Component
    public class OkHttpClientProvider
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      okhttp3.OkHttpClient getClient​(ServiceEndpoint service)
      Consults the provider impls to decide which provider class can build a client for the given service config and delegates to that provider to build a client.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getClient

        public okhttp3.OkHttpClient getClient​(ServiceEndpoint service)
        Consults the provider impls to decide which provider class can build a client for the given service config and delegates to that provider to build a client.
        Parameters:
        service - service configuration
        Returns:
        okHttpClient