In the first blog entry of this series, we showed how to configure a message body reader (MBR) on an instance of Client. This blog entry will focus specifically on the topic of configuration in the JAX-RS 2.0 Client API.
The Early Draft for JAX-RS 2.0 (JSR 339) has been submitted for publication. I plan to use this blog to highlight the features in the new spec, and in this entry I'll start with the most requested feature: the Client API. This API can be broadly divided into 4 areas: the fluent API, the generic interface, configuration and asynchronous support. In this blog entry we'll explore the fluent API.