Class RawOkHttpClientFactory


  • public class RawOkHttpClientFactory
    extends java.lang.Object
    Builds an OkHttpClient that should be can be used as-is or as a foundation for more custom OkHttpClient needs.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      okhttp3.OkHttpClient create​(com.netflix.spinnaker.okhttp.OkHttpClientConfigurationProperties okHttpClientConfigurationProperties, java.util.List<okhttp3.Interceptor> interceptors, brave.http.HttpTracing httpTracing)
      Returns a basic client which can be further customized for other needs in the OkHttpClientProvider implementations.
      • Methods inherited from class java.lang.Object

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

      • RawOkHttpClientFactory

        public RawOkHttpClientFactory()
    • Method Detail

      • create

        public okhttp3.OkHttpClient create​(com.netflix.spinnaker.okhttp.OkHttpClientConfigurationProperties okHttpClientConfigurationProperties,
                                           java.util.List<okhttp3.Interceptor> interceptors,
                                           brave.http.HttpTracing httpTracing)
        Returns a basic client which can be further customized for other needs in the OkHttpClientProvider implementations. (eg: SSL setup, name verifier etc)