New Draft JEP: Support HTTP/3 in the HttpClient

Daniel Fuchs daniel.fuchs at oracle.com
Wed Jul 10 16:22:22 UTC 2024


Hi,

This is just a heads up that an initial load for implementing HTTP/3
support in the java.net.http.HttpClient is available in the http3
branch of the openjdk sandbox [1]

This is work in progress, and development will continue in that
branch.

best regards,

-- daniel

[1] https://github.com/openjdk/jdk-sandbox/tree/http3

On 14/05/2024 19:26, Daniel Fuchs wrote:
> 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