~/talk

Get HATEOAS and Hypermedia right with Spring

Talkat Spring I/O 2016 · 2016-05-19..05-20· [api-design, web-platform]
links:none on file
slides:none on file

Practical walkthrough of adding hypermedia to an existing API using Spring HATEOAS and Spring Data REST with a live GitHub example: root discoverability returns HAL links, OPTIONS reveals allowed verbs, GET on a book includes a self and add-to-cart link, POST adds a book to a cart and PATCH sets purchased=true to produce a receipt URL. Shows mapping to controller methods (no hardcoded URIs), uses HAL as the hypermedia type, and demonstrates Jackson JSON views and field filtering to cut a 40‑field book payload.

AI-written summary · about

  1. 0:00Introduction to HATEOAS
  2. 2:44HATEOAS and REST theory
  3. 4:48HATEOAS in practice
  4. 7:00Benefits for clients
  5. 11:24Real-world adoption
  6. 17:19API demo
  7. 25:01Hypermedia types
  8. 28:52Spring HATEOAS implementation
  9. 37:55Advanced JSON techniques
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.