
上QQ阅读APP看书,第一时间看更新
JEP 321 – HTTP Client (Standard)
JDK 18.9 standardizes the incubated HTTP API client introduced in JDK 9 and updated in JDK 10. Based on CompleteableFuture, it supports nonblocking requests and responses. The new implementation is asynchronous and provides a better traceable data flow.
Chapter 10, Networking, explains this feature in more detail in several recipes.