Java 9's new HTTP client

There were several goals associated with creating the new HTTP client for the Java 9 platform. JEP-110 was the organizing proposal for the new HTTP client. The primary goals of JEP-110 are listed here and featured the creation of the new HTTP client presented. These goals are presented in the broad categories of ease of use, core capabilities, additional capabilities, and performance:

  • Ease of use:
    • The API was designed to provide up to 90 percent of HTTP-related application requirements.
    • The new API is usable, without unnecessary complexity, for the most common use cases.
    • A simplistic blocking mode is included.
    • The API supports modern Java language features. Lambda expressions, a major new introduction released with ...

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.