Merge branch '2.0.x'

pull/13317/head
Andy Wilkinson 7 years ago
commit cff5c1ec72

@ -72,8 +72,6 @@ public class RestTemplateBuilder {
"org.springframework.http.client.HttpComponentsClientHttpRequestFactory"); "org.springframework.http.client.HttpComponentsClientHttpRequestFactory");
candidates.put("okhttp3.OkHttpClient", candidates.put("okhttp3.OkHttpClient",
"org.springframework.http.client.OkHttp3ClientHttpRequestFactory"); "org.springframework.http.client.OkHttp3ClientHttpRequestFactory");
candidates.put("com.squareup.okhttp.OkHttpClient",
"org.springframework.http.client.OkHttpClientHttpRequestFactory");
REQUEST_FACTORY_CANDIDATES = Collections.unmodifiableMap(candidates); REQUEST_FACTORY_CANDIDATES = Collections.unmodifiableMap(candidates);
} }

Loading…
Cancel
Save