Update advice on RestTemplate
Closes gh-24503
This commit is contained in:
@@ -920,10 +920,10 @@ method API.
|
||||
* <<web-reactive.adoc#webflux-client, WebClient>>: a non-blocking, reactive alternative
|
||||
that supports both synchronous and asynchronous 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 synchronous and asynchronous as well as streaming
|
||||
scenarios. The `RestTemplate` will be deprecated in a future version and will not have
|
||||
major new features added going forward.
|
||||
NOTE: 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.
|
||||
|
||||
|
||||
[[rest-resttemplate]]
|
||||
|
||||
@@ -13,12 +13,10 @@ This section describes options for client-side access to REST endpoints.
|
||||
Spring REST client and exposes a simple, template-method API over underlying HTTP client
|
||||
libraries.
|
||||
|
||||
NOTE: As of 5.0, the non-blocking, reactive `WebClient` offers a modern alternative to the
|
||||
`RestTemplate`, with efficient support for both
|
||||
<<web-reactive.adoc#webflux-client-synchronous, synchronous and asynchronous>>, as well as
|
||||
streaming scenarios. The `RestTemplate` will be deprecated in a future version and will
|
||||
not have major new features added going forward.
|
||||
|
||||
NOTE: 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, REST Endpoints>> for details.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user