| CARVIEW |
Select Language
HTTP/2 301
server: AkamaiGHost
content-length: 0
location: https://openjdk.org/groups/net/httpclient
date: Tue, 23 Dec 2025 15:07:20 GMT
HTTP/2 301
content-type: text/html
location: /groups/net/httpclient/
content-security-policy-report-only: default-src 'self' *.openjdk.java.net feedburner.google.com; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' feeds.feedburner.com *.statcounter.com statcounter.com; img-src 'self' data: *.statcounter.com *.openjdk.java.net feedburner.google.com; frame-ancestors 'none'; report-uri https://openjdk.report-uri.io/r/default/csp/reportOnly
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-akamai-transformed: 0 - 0 -
date: Tue, 23 Dec 2025 15:07:21 GMT
set-cookie: _abck=F1FA293A51AAE7FD135424CC90B44299~-1~YAAQNAHARUcpziObAQAABSHASw+6tTPwyv6vHsdh1vZDYcUkzZYB3GugT0ClSBSbYFF9iqebuG93v2Cg+LjxMNOrcT51nk+uRzjIY/kbqlMqi4jQaJNsHeOq+/cUYEUWgX6+FESHtNr1QAvUYtup+6FsXVpvanbnZuM8VF7lBcR3cka5W8NY3xs4a6tdAXS3IF8X9XVfsFviMSN45Hq/1r8XZmMHp708PIQ8qNmxsV5vo9idf0GbzK2kQ3kMWotB3FinaYzerQRm/iJ2OvtxBrftPZkZbn+5DH8UIGTeZofEHzPno+lxgQGFIO2jPMR+iUif69YruJGWMNEGfs2RployUwOU9p7s4AG59zwxrHMJLkxWZi1DLQ/8rusb9vdeJZs4SNZgl+XkumF2JKWnBz3PayJ+a8+umkj5YAkzyXNdmJe8hJWt5mniratn0pp54s6NU3/6PJdu~-1~-1~-1~-1~-1; Domain=.openjdk.org; Path=/; Expires=Wed, 23 Dec 2026 15:07:21 GMT; Max-Age=31536000; Secure
set-cookie: bm_sz=C10F31B9E871295FD7BEFD969AE6B12C~YAAQNAHARUgpziObAQAABSHASx6xnu31wLu6g3mvYgNcvTpOwX5pGfOzbiE/7NOoelOWfJCIUWECp9SmgYAvud3qGiBPtEihXCrOOYby0AWUzEXOTNTX6PDdiLRPiTT4H5C2fvWuPRLrNDD2TyNCQFu0lp+wZ2eqEU4Gga6uaTen8ghF9pnzaDguDhXISykZZuGeKhFXPOf/ECFcDocNqWU8nm24jH4osXVghNQFTVxodNhmkYfgxMRjDibUD+ZEO1lLMWPSWmELccDn7nCPqPGhMXv0VEyTxy5ayY90MJbT+N72u1JYQz8K4WG/3UuMxOkeSxcBSSa39x3OtjXxBY2UQEg/sF0oqS6j8opHFcruGw8m3OwBNfY=~4276532~4273461; Domain=.openjdk.org; Path=/; Expires=Tue, 23 Dec 2025 19:07:20 GMT; Max-Age=14399
HTTP/2 200
content-type: text/html
last-modified: Thu, 04 Dec 2025 17:53:58 GMT
vary: Accept-Encoding
etag: "6931cab6-2a57"
content-security-policy-report-only: default-src 'self' *.openjdk.java.net feedburner.google.com; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval' feeds.feedburner.com *.statcounter.com statcounter.com; img-src 'self' data: *.statcounter.com *.openjdk.java.net feedburner.google.com; frame-ancestors 'none'; report-uri https://openjdk.report-uri.io/r/default/csp/reportOnly
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
accept-ranges: bytes
x-akamai-transformed: 0 - 0 -
content-encoding: gzip
date: Tue, 23 Dec 2025 15:07:22 GMT
content-length: 3004
Java 11 HTTP Client
Java HTTP Client
Related JEPs:
-
JEP 110 Delivered the HTTP Client in incubating form in JDK 9
-
JEP 321 Standarized the HTTP Client in Java 11
Resources and Learning Material
- Introduction to the HTTP Client ( written by Chris Hegarty)
- Introduction to the Java 11 HTTP Client (15m video, Chris Hegarty)
- Examples and Recipes for performing common tasks ( written by Chris Hegarty)
- Road to the Java 11 HTTP Client (24m video, Chris Hegarty)
- Handling Response Data with the Java 11 HTTP Client (22m video, Chris Hegarty)
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.
- src/java.net.http/share/classes/java/net/http - contains the public API
- src/java.net.http/share/classes/jdk/internal/net/http - contains the implementation classes
The code was originally developed on the http-client-branch in the JDK Sandbox.
hg clone -b http-client-branch https://hg.openjdk.org/jdk/sandboxMaterial based on the now-superseded Incubating API
- Introduction to the JDK HTTP Client , or on blogs.oracle.com/java ( written by Chris Hegarty)
- Examples and Recipes for performing common tasks ( written by Chris Hegarty)
Last update: 2018/10/15
Groups
Projects
© 2025 Oracle Corporation and/or its affiliates
Terms of Use · License: GPLv2 · Privacy · Trademarks
Terms of Use · License: GPLv2 · Privacy · Trademarks