HTTP Requests in Java: HTTP Requests with Java's HttpClient

Java JDK 8+
  • 9 Videos | 1h 17m 2s
  • Includes Assessment
  • Earns a Badge
Examine basic and advanced operations possible when building HTTP requests with Java's HttpClient through this course. Explore how to send a basic GET request and process the response that is returned, configure your request with timeouts, and implement POST, PUT, and DELETE requests. Delve into the features of the HttpClient, such as the use of BodyHandlers to write a response body to a file, detecting and getting information about any URL redirects involved in processing your request, and sending requests asynchronously. Upon completing this course, you'll be able to work with various HTTP requests using Java's HttpClient.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    use the HttpClient class to send a GET request and process the response that is returned
    describe the different methods available to access the data and metadata in an HttpResponse instance
    set an upper limit on the amount of time you can wait for a response to an HTTP request
    recognize the steps involved in automatic redirects and how these can be detected and handled with HttpClient
  • send an asynchronous request using HttpClient and recognize how this differs from a synchronous request
    develop a program to send multiple asynchronous HTTP GET requests and process their responses once you are ready
    implement POST, PUT and DELETE request calls using HttpClient
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    2m 27s
    UP NEXT
  • Playable
    2. 
    Sending GET Requests with HttpClient
    10m 38s
  • Locked
    3. 
    Handling HttpResponses
    11m 13s
  • Locked
    4. 
    Configuring Timeouts
    8m 46s
  • Locked
    5. 
    Handling Redirects
    10m 46s
  • Locked
    6. 
    Sending Asynchronous Requests
    12m 35s
  • Locked
    7. 
    Sending Multiple Asynchronous Requests
    7m 35s
  • Locked
    8. 
    Implementing POST, PUT, and DELETE Requests
    10m 35s
  • Locked
    9. 
    Course Summary
    2m 28s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.