March 2019
Intermediate to advanced
242 pages
6h 21m
English
Until now, Java developers have been using the HttpURLConnection class to request HTTP resources over the network. However, it has multiple downsides, which led to the development of the HTTP Client API.
Introduced in JDK 1.1, the HttpURLConnection class was never designed to work in an asynchronous way; it works in a blocking mode only. This contrasts with the changing nature of the applications and the data that we work with today. The world is moving toward responsive programming, which deals with processing real-time data, and we can't afford to work with blocking communications or one request or response over a connection.
The HttpURLConnection class is also difficult to use for the developers; part of ...
Read now
Unlock full access