This tag should be used for questions which relate specifically to the new JDK 11 `java.net.http` package which includes new classes and interfaces such as HttpClient, HttpRequest, HttpResponse, and WebSocket. This tag should not be used for questions which relate to HTTP handling with the older `java.net` package. This tag can be used for questions about the incubator versions of this package, but do make the JDK version clear in such cases.
This tag should be used for questions which relate specifically to the new Java HTTP Client and WebSocket APIs in package java.net.http
which was formally introduced in JDK 11 and includes new classes and interfaces such as HttpClient
, HttpRequest
, HttpResponse
, and WebSocket
.
This tag should not be used for questions which relate to HTTP handling with the older java.net
package, and it should not be used for questions about third-party HTTP libraries (such as Apache HttpClient, org.apache.http
). Search the tags page for tags specific to third-party HTTP libraries.
Note that an incubator version of this new framework was included in JDK 9 and JDK 10. There are significant differences between the incubator versions and the finalised version which was released in JDK 11.
This tag can be used to ask questions about the incubator versions of this new package, but in such cases the question should clearly state the JDK version and make it clear that an incubator version of the framework is being discussed. Such questions should also be tagged with java-9 or java-10 to make it clear that an older JDK is being used.