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
Nesta página do site você pode assistir ao vídeo on-line Spring WebClient Tutorial - Spring Web Flux duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Lemubit Academy 25 Janeiro 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 15,284 vezes e gostou 138 espectadores. Boa visualização!