You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rstoyanchev
changed the title
JavaDoc for RestTemplate seems out of order with WebClient [SPR-17644]
Document synchronous use of WebClient [SPR-17644]
Jan 18, 2019
Pavlo Morozov opened SPR-17644 and commented
ResTemplate javaDoc says it will be deprecated
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html
Also this page mentions the new class to call over HTTP. It is possible to use it in both synchronous and asynchronous ways:
Though I not see in javaDoc for WebClient any note about synchronous way it works:
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/reactive/function/client/WebClient.html
So it is not clear how to use WebClient in synchronous way?
Also I have wider question related on StackOverflow, any help would be nice: https://stackoverflow.com/questions/54078309/spring-boot-http-call-to-remote-web-service
Affects: 5.1.3
The text was updated successfully, but these errors were encountered: