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:
JSON to POJO:
Demo data API:
Spring Initializr:
6 views
637
175
2 weeks ago 00:42:39 1
Flatpicking Guitar with Molly Tuttle
3 months ago 00:01:52 2
Come Go With Me-Del Vikings (???) * (Spidels)
3 months ago 00:12:43 1
Alexander Scriabin - Piano Sonata No. 10 (1913)(with full score)
3 months ago 00:05:04 1
Mother Earth responds to Forbes 500, Mighty Man by Peruquois
3 months ago 00:02:55 17
Leon Frohm - Better Days (LIVE Deltävling 1 Hello Mello 2024)
3 months ago 00:05:22 12
[東方 Post Rock/Vocal] Akane ft. Nocturne — Infinite Nightmare
3 months ago 00:04:01 1
Lyalya Razmahova — «(Simply) The Best» | Ляля Размахова — «Просто самый лучший»
3 months ago 00:02:49 1
Funn Tayy - Its Giving (Official Music Video)
3 months ago 04:17:58 1
Donald Trump Live | US Elections 2024 Updates | Trump Duluth Live | Trump Georgia Rally Live | N18G
3 months ago 00:03:44 1
Airwolf Full Extended Theme Remake/Cover
3 months ago 00:49:13 1
Resting in the Faithfulness of God – Dr. Charles Stanley