This is a brief introduction to reactive programming with Spring WebClient. In this lesson, you would see the difference between using Rest Template and WebClient. Rest Template makes calls in a blocking manner while WebClient is non-blocking.
You would learn how to perform Get requests with WebClient, Post Requests with WebClient and situations where Get requests receive a list of objects as response and not just one. Hint in such cases we use Flux and not Mono.
Time Stamp:
0:00 Dummy Server
3:30 WebFlux Dependency
5:00 Rest Template Example
9:00 Web Client Example
15:15 Web Client Post Request Example
16:50 Web Client Body To Flux Example
Further Reading:
💻 https://lankydan.dev/2018/03/15/doing...
💻 https://dzone.com/articles/doing-stuf...
💻 https://howtodoinjava.com/spring-boot...
💻 https://huongdanjava.com/consume-reac...
💻 https://blog.knoldus.com/passing-quer...
Source Code:
https://github.com/LEMUBIT/la_webclie...
https://github.com/LEMUBIT/la_webclie...
Guava Library: https://github.com/google/guava
If you enjoyed this video, consider 🔴subscribing to be a part of the Lemubit Academy Network: https://bit.ly/2O2x0H1
Locate Lemubit Academy 🌐:
Twitter: / lemubitacademy
Linkedin: / lemubit-academy
Auf dieser Seite können Sie das Online-Video Spring WebClient Tutorial - Spring Web Flux mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Lemubit Academy 25 Januar 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 15,284 Mal angesehen und es wurde von 138 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!