Company
Date Published
Author
José Álvarez
Word count
289
Language
English
Hacker News points
None

Summary

The Jersey Client API is used to utilize the REST API from Java when authentication is required, allowing developers to create a WebTarget instance that can derive other web targets. A Client instance is first built using one of the static ClientBuilder factory methods, and then a WebTarget is created from it. The URI passed to the method as a String represents the targeted web resource's context root, enabling the derivation of other web targets by appending paths to it.