Update advice on RestTemplate

Closes gh-24503
This commit is contained in:
Rossen Stoyanchev
2020-02-11 14:01:21 +00:00
committed by Juergen Hoeller
parent f90acdf42f
commit dc561aee02
3 changed files with 14 additions and 16 deletions

View File

@@ -956,10 +956,10 @@ that supports both sync and async, as well as streaming scenarios.
[NOTE]
====
As of 5.0, the non-blocking, reactive `WebClient` offers a modern alternative to the
`RestTemplate` with efficient support for both sync and async, as well as streaming
scenarios. The `RestTemplate` will be deprecated in a future version and will not have
major new features gong forward.
As of 5.0 the `RestTemplate` is in maintenance mode, with only minor requests for
changes and bugs to be accepted going forward. Please, consider using the
<<web-reactive.adoc#webflux-client, WebClient>> which offers a more modern API and
supports sync, async, and streaming scenarios.
====

View File

@@ -15,10 +15,10 @@ libraries.
[NOTE]
====
As of 5.0, the non-blocking, reactive `WebClient` offers a modern alternative to the
`RestTemplate` with efficient support for both sync and async, as well as streaming
scenarios. The `RestTemplate` will be deprecated in a future version and will not have
major new features gong forward.
As of 5.0 the `RestTemplate` is in maintenance mode, with only minor requests for
changes and bugs to be accepted going forward. Please, consider using the
<<web-reactive.adoc#webflux-client, WebClient>> which offers a more modern API and
supports sync, async, and streaming scenarios.
====
See <<integration.adoc#rest-client-access,RestTemplate>> for details.