Building Flexible APIs with Spring HATEOAS
summary
Shows Spring HATEOAS 1.1 used to turn plain JSON into navigable resources by wrapping domain objects in EntityModel and attaching links and affordances, with examples of preserving backward compatibility (keep old name field while adding firstName/lastName). Demonstrates auto-configuration: RestTemplate and WebClient customizers register hypermedia converters so clients accept HAL-FORMS and other media types. Covers WebFlux support, problem+json errors, and live-renderable form templates — the examples compile and run with the provided Spring config.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:12What is an API
- 3:29Versioning
- 8:33Hypermedia Controls
- 13:50Hypermedia Consumption
- 14:13Message Converters
- 15:05Rest Templates
- 17:38Other Features
- 19:18Outro
related talks
46mGet HATEOAS and Hypermedia right with Spring
50mBuilding Futureproof APIs with Spring HATEOAS
47mHypermedia IRL
01h 31mCreating REST-ful, Hypermedia-based Micro-services with Spring Boot
01h 03mMarching Happily Together with HATEOAS!
59mFrom CRUD to Hypermedia API with Spring
46mREST next level: writing business-oriented web APIs
49mFrom CRUD to Hypermedia APIs with Spring (RU)
