~/talk

What Took So Long… Java’s New HttpClient

TalkinGermanat JAX 2019 · 2019-05-06..05-10· [java, web-platform]
slides:none on file

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

  1. 0:00Introduction
  2. 3:37Old HttpClient (Java 1.1)
  3. 9:39Java 9 incubator & Java 11
  4. 10:21Old HttpClient drawbacks
  5. 11:27What is HTTP/2?
  6. 19:12New HttpClient in Java 11
  7. 21:22Simple HttpClient example
  8. 25:50Reactive Streams with HttpClient
  9. 34:43Async request sending
  10. 37:58CompletableFuture explained
  11. 43:17CompletableFuture methods
  12. 52:53Multi-stage processing with CompletableFuture
  13. 56:24Combining multiple results
  14. 1:03:05Summary
~/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.