Java HTTP Client

Related JEPs:

Resources and Learning Material

Development history

The HTTP Client was added as an incubating API in JDK 9, refreshed in JDK 10, and standarized in Java 11. Any code using the incubating API will need to be updated to use the standard API in Java 11, as the incubating API has been removed.

Source Code

The source has been integrated into the mainline repository of the JDK Project, and as such is maintained there.

The java.net.http module provide both the HTTP Client API and implementation.

The code was originally developed on the http-client-branch in the JDK Sandbox.

hg clone -b http-client-branch https://hg.openjdk.java.net/jdk/sandbox

Material based on the now-superseded Incubating API

Last update: 2018/10/15