Class RawOkHttpClientFactory
java.lang.Object
com.netflix.spinnaker.config.okhttp3.RawOkHttpClientFactory
Builds an
OkHttpClient that should be can be used as-is or as a foundation for more
custom OkHttpClient needs.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionokhttp3.OkHttpClientcreate(com.netflix.spinnaker.okhttp.OkHttpClientConfigurationProperties okHttpClientConfigurationProperties, List<okhttp3.Interceptor> interceptors, brave.http.HttpTracing httpTracing) Returns a basic client which can be further customized for other needs in theOkHttpClientProviderimplementations.
-
Constructor Details
-
RawOkHttpClientFactory
public RawOkHttpClientFactory()
-
-
Method Details
-
create
public okhttp3.OkHttpClient create(com.netflix.spinnaker.okhttp.OkHttpClientConfigurationProperties okHttpClientConfigurationProperties, List<okhttp3.Interceptor> interceptors, brave.http.HttpTracing httpTracing) Returns a basic client which can be further customized for other needs in theOkHttpClientProviderimplementations. (eg: SSL setup, name verifier etc)
-