RESTfu­­l Jav­a­ wit­h ­JAX­-­­RS 2.­0­ (Second Edition)

Wrapping Up

In this chapter, we learned about the JAX-RS Client API. Client interfaces manage global configuration and the underlying socket connections you’ll use to communicate with a service. WebTarget represents a URI that you can build and invoke HTTP requests from. If you want to see the Client API in action, check out the numerous examples in Part II. They all use the Client API in some form or another.