Calling REST from Java with Spring WebClient

Pubblicato il: 29 dicembre 2021
sul canale di: 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/


In questa pagina del sito puoi guardare il video online Calling REST from Java with Spring WebClient della durata di ore minuti seconda in buona qualità , che l'utente ha caricato vaadinofficial 29 dicembre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 20,535 volte e gli è piaciuto 386 spettatori. Buona visione!