dropwizard/dropwizard — pull request #791 by cmicali (2014-11-21 19:18:45+00:00)
Title: JerseyClientBuilder: Add back metrics and use provided configuration values

This PR improves the JerseyClientBuilder with:

* Add back metrics provided by **InstrumentedHttpClientConnectionManager**
* Respect the timeout, cookie, and credential provider configuration parameters

Additionally it:

* Adds a few tests for the configuration parameters
* Moves common code shared between **HttpClientBuilder** and **JerseyClientBuilder** into an **AppacheClientBuilderBase** class

I recommend including this in 0.8, as the existing JerseyClientBuilder is a bit broken without these enhancements.

**Note**:

This PR does **not** include InstrumentedHttpRequestExecutor and per-request metrics as can not figure out a way to configure it with Jersey's **ApacheConnector**