5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

Aspire     Java Novice to Javanista     Java Novice to Javanista Track 3: Javanista
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.

Objectives

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

  • 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