Java Reference
In-Depth Information
scoping makes it much easier for you to share initialization code so you can avoid creating a
lot of extra objects you don't need and reduce the amount of code you have to write.
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 ser-
vice. 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.
Search WWH ::

Custom Search