*
* @return an {@link HttpClient}
*/
public HttpClient build(String name) {
RequestConfig createHttpParams = createHttpParams();
final NHttpClientConnectionManager manager = createConnectionManager(registry, name);
HttpAsyncClientBuilder clientBuilder = new InstrumentedNHttpClientBuilder(metricRegistry, name);
clientBuilder.setConnectionManager(manager);
clientBuilder.setDefaultRequestConfig(createHttpParams);
setStrategiesForClient(clientBuilder);
CloseableHttpAsyncClient client = clientBuilder.build();