Calling REST from Java with Spring WebClient

Publié le: 29 décembre 2021
sur la chaîne: vaadinofficial
20,535
386

In this video, Marcus Hellberg shows you how to call a REST endpoint in Java using the Spring RestClient library, how to create Java objects from the response, and how to show the result in a data grid.

0:00 - Intro
0:18 - Creating a project with Spring Initializr
1:07 - Opening the project in IntelliJ
1:35 - REST endpoint overview
2:00 - Creating Java objects for the REST response
3:43 - Creating a service and initializing WebClient
4:59 - Calling a REST endpoint with WebClient
6:06 - Displaying data in a data grid
9:06 - Outro


GitHub for code: https://github.com/marcushellberg/spr...
JSON to POJO: https://www.jsonschema2pojo.org/
Demo data API: https://jsonplaceholder.typicode.com/
Spring Initializr: https://start.spring.io/


Sur cette page du site, vous pouvez voir la vidéo en ligne Calling REST from Java with Spring WebClient durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur vaadinofficial 29 décembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 20,535 fois et il a aimé 386 téléspectateurs. Bon visionnage!