@Implements(org.apache.http.impl.client.DefaultRequestDirector.class) public class ShadowDefaultRequestDirector extends Object
Modifier and Type | Field | Description |
---|---|---|
protected ConnectionKeepAliveStrategy |
connectionKeepAliveStrategy |
|
protected ClientConnectionManager |
connectionManager |
|
protected org.apache.http.ConnectionReuseStrategy |
connectionReuseStrategy |
|
protected HttpParams |
httpParams |
|
protected org.apache.http.protocol.HttpProcessor |
httpProcessor |
|
protected org.apache.http.protocol.HttpRequestExecutor |
httpRequestExecutor |
|
protected org.apache.http.client.HttpRequestRetryHandler |
httpRequestRetryHandler |
|
protected org.apache.http.conn.routing.HttpRoutePlanner |
httpRoutePlanner |
|
protected org.apache.commons.logging.Log |
log |
|
protected org.apache.http.client.AuthenticationHandler |
proxyAuthenticationHandler |
|
protected org.apache.http.client.RedirectHandler |
redirectHandler |
|
protected org.apache.http.client.AuthenticationHandler |
targetAuthenticationHandler |
|
protected org.apache.http.client.UserTokenHandler |
userTokenHandler |
Constructor | Description |
---|---|
ShadowDefaultRequestDirector() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
__constructor__(org.apache.commons.logging.Log log,
org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
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.RedirectHandler redirectHandler,
org.apache.http.client.AuthenticationHandler targetAuthHandler,
org.apache.http.client.AuthenticationHandler proxyAuthHandler,
org.apache.http.client.UserTokenHandler userTokenHandler,
HttpParams params) |
|
protected void |
__constructor__(org.apache.http.protocol.HttpRequestExecutor requestExec,
ClientConnectionManager conman,
org.apache.http.ConnectionReuseStrategy reustrat,
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.RedirectHandler redirectHandler,
org.apache.http.client.AuthenticationHandler targetAuthHandler,
org.apache.http.client.AuthenticationHandler proxyAuthHandler,
org.apache.http.client.UserTokenHandler userTokenHandler,
HttpParams params) |
|
protected org.apache.http.HttpResponse |
execute(org.apache.http.HttpHost httpHost,
org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
|
ConnectionKeepAliveStrategy |
getConnectionKeepAliveStrategy() |
|
ClientConnectionManager |
getConnectionManager() |
|
org.apache.http.ConnectionReuseStrategy |
getConnectionReuseStrategy() |
|
HttpParams |
getHttpParams() |
|
org.apache.http.protocol.HttpProcessor |
getHttpProcessor() |
|
org.apache.http.protocol.HttpRequestExecutor |
getHttpRequestExecutor() |
|
org.apache.http.client.HttpRequestRetryHandler |
getHttpRequestRetryHandler() |
|
org.apache.http.conn.routing.HttpRoutePlanner |
getHttpRoutePlanner() |
|
static org.apache.http.HttpRequest |
getLatestSentHttpRequest() |
|
static HttpRequestInfo |
getLatestSentHttpRequestInfo() |
|
org.apache.commons.logging.Log |
getLog() |
|
org.apache.http.client.AuthenticationHandler |
getProxyAuthenticationHandler() |
|
org.apache.http.client.RedirectHandler |
getRedirectHandler() |
|
static org.apache.http.HttpRequest |
getSentHttpRequest(int index) |
Deprecated.
Use
FakeHttp.getSentHttpRequestInfo(int) instead.) |
static HttpRequestInfo |
getSentHttpRequestInfo(int index) |
Deprecated.
Use
FakeHttp.getSentHttpRequest(int) instead.) |
org.apache.http.client.AuthenticationHandler |
getTargetAuthenticationHandler() |
|
org.apache.http.client.UserTokenHandler |
getUserTokenHandler() |
|
static void |
reset() |
protected org.apache.commons.logging.Log log
protected ClientConnectionManager connectionManager
protected org.apache.http.conn.routing.HttpRoutePlanner httpRoutePlanner
protected org.apache.http.ConnectionReuseStrategy connectionReuseStrategy
protected ConnectionKeepAliveStrategy connectionKeepAliveStrategy
protected org.apache.http.protocol.HttpRequestExecutor httpRequestExecutor
protected org.apache.http.protocol.HttpProcessor httpProcessor
protected org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandler
protected org.apache.http.client.RedirectHandler redirectHandler
protected org.apache.http.client.AuthenticationHandler targetAuthenticationHandler
protected org.apache.http.client.AuthenticationHandler proxyAuthenticationHandler
protected org.apache.http.client.UserTokenHandler userTokenHandler
protected HttpParams httpParams
@Implementation protected void __constructor__(org.apache.commons.logging.Log log, org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, 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.RedirectHandler redirectHandler, org.apache.http.client.AuthenticationHandler targetAuthHandler, org.apache.http.client.AuthenticationHandler proxyAuthHandler, org.apache.http.client.UserTokenHandler userTokenHandler, HttpParams params)
@Implementation protected void __constructor__(org.apache.http.protocol.HttpRequestExecutor requestExec, ClientConnectionManager conman, org.apache.http.ConnectionReuseStrategy reustrat, 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.RedirectHandler redirectHandler, org.apache.http.client.AuthenticationHandler targetAuthHandler, org.apache.http.client.AuthenticationHandler proxyAuthHandler, org.apache.http.client.UserTokenHandler userTokenHandler, HttpParams params)
@Deprecated public static org.apache.http.HttpRequest getSentHttpRequest(int index)
FakeHttp.getSentHttpRequestInfo(int)
instead.)index
- The indexpublic static org.apache.http.HttpRequest getLatestSentHttpRequest()
public static HttpRequestInfo getLatestSentHttpRequestInfo()
@Deprecated public static HttpRequestInfo getSentHttpRequestInfo(int index)
FakeHttp.getSentHttpRequest(int)
instead.)index
- The index@Implementation protected org.apache.http.HttpResponse execute(org.apache.http.HttpHost httpHost, org.apache.http.HttpRequest httpRequest, org.apache.http.protocol.HttpContext httpContext) throws org.apache.http.HttpException, IOException
org.apache.http.HttpException
IOException
public org.apache.commons.logging.Log getLog()
public ClientConnectionManager getConnectionManager()
public org.apache.http.conn.routing.HttpRoutePlanner getHttpRoutePlanner()
public org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy()
public ConnectionKeepAliveStrategy getConnectionKeepAliveStrategy()
public org.apache.http.protocol.HttpRequestExecutor getHttpRequestExecutor()
public org.apache.http.protocol.HttpProcessor getHttpProcessor()
public org.apache.http.client.HttpRequestRetryHandler getHttpRequestRetryHandler()
public org.apache.http.client.RedirectHandler getRedirectHandler()
public org.apache.http.client.AuthenticationHandler getTargetAuthenticationHandler()
public org.apache.http.client.AuthenticationHandler getProxyAuthenticationHandler()
public org.apache.http.client.UserTokenHandler getUserTokenHandler()
public HttpParams getHttpParams()
@Resetter public static void reset()