Closed
Description
The RestTemplate will be deprecated in a future version and will not have major new features added going forward.
https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html
Could you add a detailed migration guide on how to refactor existing RestTemplate
(which typically is for sync blocking requests) into WebClient
requests (also sync and blocking)?
Because the usual case for WebClient is probably for async requests, but chances are high that if someone refactors to WebClient
he want's to stick to his synchronous patterns.
Wouldn't this be a good idea to grab spring users by their hands just now, if it's planned to deprecate RestTemplate
in future anyhow?