Java Fundamentals: HttpClient

With Java's HttpClient API you can easily perform HTTP calls. It's a modern API supporting HTTP/1.1, HTTP/2, and WebSockets. This course shows how to work with HttpClient in a practical manner, and also explores some advanced features.
Course info
Level
Intermediate
Updated
May 15, 2019
Duration
1h 44m
Table of contents
Description
Course info
Level
Intermediate
Updated
May 15, 2019
Duration
1h 44m
Description

It used to be that performing HTTP calls in Java meant relying on an external library like Apache HttpClient. Since Java 11, a modern HTTP client is now part of the core platform. In this course, Java Fundamentals: HttpClient, you will gain the ability to work with this HttpClient API. First, you will learn to use HttpClient in a synchronous and asynchronous manner, including the use of CompletableFuture. Next, you will discover how to configure and use HttpClient in different scenarios, focusing on secure communication as well. Finally, you will explore some of the more advanced features of HttpClient, such as HTTP/2 Server Push, WebSocket communication, and Reactive Streams integration. When you're finished with this course, you will have the skills and knowledge of the HttpClient API needed to use it effectively in your own applications.

About the author
About the author

Sander is a Fellow at Luminis in The Netherlands, where he crafts modular and scalable software, most often on the JVM, but with a touch of TypeScript when needed. He also is a Java Champion and author of the O'Reilly book 'Java 9 Modularity' (see javamodularity.com). As an avid conference speaker, Sander loves sharing knowledge, also through his blog at http://branchandbound.net and as Pluralsight instructor.

More from the author
What's New in Java 12
Intermediate
1h 7m
Mar 18, 2019
Modern Java: The Big Picture
Beginner
1h 58m
Nov 2, 2018
More courses by Sander Mak