New Draft JEP: Support HTTP/3 in the HttpClient

Daniel Fuchs daniel.fuchs at oracle.com
Tue May 14 18:26:21 UTC 2024


Hi,

With HTTP/3 having reached the state of Proposed Standard,
we propose to update the HttpClient provided by the java.net.http
module [1] to additionally support the HTTP/3 protocol.

HTTP/3 is an evolution of HTTP/2 based on the Quic transport,
which uses components from TLSv1.3 to be secure by default.
The HttpClient API is protocol agnostic, already supports HTTP/1.1 and
HTTP/2, and is designed to support future versions of the protocol with
minimal changes.

At this time we do not plan to offer a public API for Quic, nor for
the possible changes that would be required to implement Quic over
the JDK implementation of TLS 1.3. This could be the object of a
future JEP.

More details can be found on the draft JEP page [2] or the
corresponding JBS issue [3]

best regards,

-- daniel

[1] 
https://docs.oracle.com/en/java/javase/22/docs/api/java.net.http/module-summary.html
[2] https://openjdk.org/jeps/8291976
[3] https://bugs.openjdk.org/browse/JDK-8291976


More information about the net-dev mailing list