Polish RestClient request factories

This commit changes the default request factory from the
SimpleClientHttpRequestFactory to the JdkClientHttpRequestFactory if
available. It also adds detection logic for OkHttp and Jetty.
This commit is contained in:
Arjen Poutsma
2023-07-13 09:23:53 +02:00
parent 094eb3e236
commit 49c463b1d2
3 changed files with 38 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ The Spring Framework provides the following choices for making calls to REST end
== `RestClient`
Reference documentation is forthcoming.
For now, please refer to the https://docs.spring.io/spring-framework/docs/6.1.0-M1/javadoc-api/org/springframework/web/client/RestClient.html[API documentation].
For now, please refer to the https://docs.spring.io/spring-framework/docs/6.1.0-M2/javadoc-api/org/springframework/web/client/RestClient.html[API documentation].
[[rest-webclient]]