Package com.codahale.metrics.httpclient
Class InstrumentedHttpClients
java.lang.Object
com.codahale.metrics.httpclient.InstrumentedHttpClients
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.http.impl.client.CloseableHttpClientcreateDefault(com.codahale.metrics.MetricRegistry metricRegistry) static org.apache.http.impl.client.CloseableHttpClientcreateDefault(com.codahale.metrics.MetricRegistry metricRegistry, HttpClientMetricNameStrategy metricNameStrategy) static org.apache.http.impl.client.HttpClientBuildercustom(com.codahale.metrics.MetricRegistry metricRegistry) static org.apache.http.impl.client.HttpClientBuildercustom(com.codahale.metrics.MetricRegistry metricRegistry, HttpClientMetricNameStrategy metricNameStrategy)
-
Method Details
-
createDefault
public static org.apache.http.impl.client.CloseableHttpClient createDefault(com.codahale.metrics.MetricRegistry metricRegistry) -
createDefault
public static org.apache.http.impl.client.CloseableHttpClient createDefault(com.codahale.metrics.MetricRegistry metricRegistry, HttpClientMetricNameStrategy metricNameStrategy) -
custom
public static org.apache.http.impl.client.HttpClientBuilder custom(com.codahale.metrics.MetricRegistry metricRegistry) -
custom
public static org.apache.http.impl.client.HttpClientBuilder custom(com.codahale.metrics.MetricRegistry metricRegistry, HttpClientMetricNameStrategy metricNameStrategy)
-