What Took So Long… Java’s New HttpClient
summary
Java's long-awaited modern HttpClient (introduced as an incubator in Java 9 and official in Java 11) replaces the old HttpURLConnection. It provides a fluent Builder API, HTTP/2 support including Push Promises, integration with CompletableFuture for composing asynchronous workflows, and Flow API-compatible stream interfaces for processing streaming data.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 3:37Old HttpClient (Java 1.1)
- 9:39Java 9 incubator & Java 11
- 10:21Old HttpClient drawbacks
- 11:27What is HTTP/2?
- 19:12New HttpClient in Java 11
- 21:22Simple HttpClient example
- 25:50Reactive Streams with HttpClient
- 34:43Async request sending
- 37:58CompletableFuture explained
- 43:17CompletableFuture methods
- 52:53Multi-stage processing with CompletableFuture
- 56:24Combining multiple results
- 1:03:05Summary
related talks
59mGood Things Take Time … Java’s New HttpClient
49mThe New HTTP Client API in Java 11
01h 03mModern Java 21+: The Next-Level Upgrade
43mKeeping Up With Java
01h 02mJava 11 to 21 Evolution!
50mThe Good, the Bad and the Ugly of Java API Design
49mThe Good, the Bad and the Ugly of Java API design
55mEffective Java SE 11-21 APIs/Lang Features Makes Your Life Easier.
