In this chapter, you will learn:
What the HTTP/2 Client API is
How to create HTTP clients
How to make HTTP requests
How to receive HTTP responses
How to create WebSocket endpoints
How to push unsolicited data from server to client
JDK 9 delivered the HTTP/2 Client API as an incubator module named jdk.incubator.httpclient. The module exports a jdk.incubator.http package that contains all public APIs. An incubator module is not part of the Java SE. In Java SE 10, either it will be standardized and become part of Java SE 10 or it will be removed. Refer to the web page at http://openjdk.java.net/jeps/11 ...