Good Things Take Time … Java’s New HttpClient
summary
The talk examines Java's new HttpClient (introduced as an incubator in Java 9 and standardized in Java 11), replacing the old HttpURLConnection. It covers the modern builder API, HTTP/2 and Push Promises support, integration with CompletableFuture for multi-stage asynchronous workflows, and Flow API adaptations for stream processing.
AI-written summary · about
chapters (8)
- 0:00Start
- 5:24Disadvantages of HttpUrlConnection
- 10:08How is lower latency achieved?
- 43:32Functional Interfaces
- 46:25Example: Chaining multiple Stages
- 52:52Example: Combining multiple results
- 53:43Example: Concurrent download
- 55:27Summary
related talks
01h 05mWhat Took So Long… Java’s New HttpClient
49mThe New HTTP Client API in Java 11
43mKeeping Up With Java
01h 03mModern Java 21+: The Next-Level Upgrade
49mThe Good, the Bad and the Ugly of Java API design
50mThe Good, the Bad and the Ugly of Java API Design
01h 48mJava 5, 6, 7, 8, 9, 10, 11: What Did You Miss?
01h 02mJava 11 to 21 Evolution!
