Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
WebClient offers a modern alternative to the RestTemplate with efficient support for both sync and async, as well as streaming scenarios
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:
a77eee8
Thank you!
Sorry, something went wrong.
rstoyanchev
No branches or pull requests
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: