File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 1
1
# The HTTP Client and WebSocket APIs
2
2
This chapter includes 20 problems that are meant to cover the HTTP Client and WebSocket APIs.
3
3
4
- Do you remember HttpUrlConnection? Well, JDK 11 comes with the HTTP Client API as a reinvention of HttpUrlConnection.
4
+ Do you remember ` HttpUrlConnection ` ? Well, JDK 11 comes with the HTTP Client API as a reinvention of ` HttpUrlConnection ` .
5
5
The HTTP Client API is easy to use and supports HTTP/2 (default) and HTTP/1.1. For backward compatibility, the HTTP Client API
6
6
will automatically downgrade from HTTP/2 to HTTP 1.1 when the server doesn't support HTTP/2. Moreover, the HTTP Client API
7
7
supports synchronous and asynchronous programming models and relies on streams to transfer data (reactive streams). It also
You can’t perform that action at this time.
0 commit comments