public class InstrumentedRequestDirector
extends org.apache.http.impl.client.DefaultRequestDirector
connManager, httpProcessor, keepAliveStrategy, managedConn, params, proxyAuthHandler, proxyAuthState, proxyAuthStrategy, redirectHandler, redirectStrategy, requestExec, retryHandler, reuseStrategy, routePlanner, targetAuthHandler, targetAuthState, targetAuthStrategy, userTokenHandler
Constructor and Description |
---|
InstrumentedRequestDirector(MetricRegistry registry,
String name,
HttpClientMetricNameStrategy metricNameStrategy,
org.apache.commons.logging.Log log,
org.apache.http.protocol.HttpRequestExecutor requestExec,
org.apache.http.conn.ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
org.apache.http.conn.ConnectionKeepAliveStrategy kastrat,
org.apache.http.conn.routing.HttpRoutePlanner rouplan,
org.apache.http.protocol.HttpProcessor httpProcessor,
org.apache.http.client.HttpRequestRetryHandler retryHandler,
org.apache.http.client.RedirectStrategy redirectStrategy,
org.apache.http.client.AuthenticationStrategy targetAuthStrategy,
org.apache.http.client.AuthenticationStrategy proxyAuthStrategy,
org.apache.http.client.UserTokenHandler userTokenHandler,
org.apache.http.params.HttpParams params) |
Modifier and Type | Method and Description |
---|---|
org.apache.http.HttpResponse |
execute(org.apache.http.HttpHost target,
org.apache.http.HttpRequest request,
org.apache.http.protocol.HttpContext context) |
public InstrumentedRequestDirector(MetricRegistry registry, String name, HttpClientMetricNameStrategy metricNameStrategy, org.apache.commons.logging.Log log, org.apache.http.protocol.HttpRequestExecutor requestExec, org.apache.http.conn.ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, org.apache.http.conn.ConnectionKeepAliveStrategy kastrat, org.apache.http.conn.routing.HttpRoutePlanner rouplan, org.apache.http.protocol.HttpProcessor httpProcessor, org.apache.http.client.HttpRequestRetryHandler retryHandler, org.apache.http.client.RedirectStrategy redirectStrategy, org.apache.http.client.AuthenticationStrategy targetAuthStrategy, org.apache.http.client.AuthenticationStrategy proxyAuthStrategy, org.apache.http.client.UserTokenHandler userTokenHandler, org.apache.http.params.HttpParams params)
public org.apache.http.HttpResponse execute(org.apache.http.HttpHost target, org.apache.http.HttpRequest request, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, IOException
execute
in interface org.apache.http.client.RequestDirector
execute
in class org.apache.http.impl.client.DefaultRequestDirector
org.apache.http.HttpException
IOException
Copyright © 2015. All rights reserved.