Commit 0d7d95d8 authored by Andy Wilkinson's avatar Andy Wilkinson

Align RestTemplateBuilder with Framework's removal of OkHttp 2 support

Closes gh-13314
parent f56cd789
......@@ -72,8 +72,6 @@ public class RestTemplateBuilder {
"org.springframework.http.client.HttpComponentsClientHttpRequestFactory");
candidates.put("okhttp3.OkHttpClient",
"org.springframework.http.client.OkHttp3ClientHttpRequestFactory");
candidates.put("com.squareup.okhttp.OkHttpClient",
"org.springframework.http.client.OkHttpClientHttpRequestFactory");
REQUEST_FACTORY_CANDIDATES = Collections.unmodifiableMap(candidates);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment