This module supplies integration with Square's OkHttpClient
and Netflix Ribbon via Spring Cloud Netflix.
An application interceptor is added to the OkHttpClient
created via autoconfiguration which resolves the scheme, host and port from ribbon and rewrites the url.
By supporting OkHttpClient
, it enables Square's Retrofit to use ribbon as well.
See OkHttpRibbonInterceptorTests
for samples.