Class ShadowDefaultRequestDirector
java.lang.Object
org.robolectric.shadows.httpclient.ShadowDefaultRequestDirector
@Deprecated
@Implements(org.apache.http.impl.client.DefaultRequestDirector.class)
public class ShadowDefaultRequestDirector
extends Object
Deprecated.
Apache HTTP client is deprecated in Android. Please migrate to an other solution
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConnectionKeepAliveStrategyDeprecated.protected ClientConnectionManagerDeprecated.protected org.apache.http.ConnectionReuseStrategyDeprecated.protected HttpParamsDeprecated.protected org.apache.http.protocol.HttpProcessorDeprecated.protected org.apache.http.protocol.HttpRequestExecutorDeprecated.protected org.apache.http.client.HttpRequestRetryHandlerDeprecated.protected org.apache.http.conn.routing.HttpRoutePlannerDeprecated.protected org.apache.commons.logging.LogDeprecated.protected org.apache.http.client.AuthenticationHandlerDeprecated.protected org.apache.http.client.RedirectHandlerDeprecated.protected org.apache.http.client.AuthenticationHandlerDeprecated.protected org.apache.http.client.UserTokenHandlerDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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) Deprecated.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.protected org.apache.http.HttpResponseexecute(org.apache.http.HttpHost httpHost, org.apache.http.HttpRequest httpRequest, org.apache.http.protocol.HttpContext httpContext) Deprecated.Deprecated.Deprecated.org.apache.http.ConnectionReuseStrategyDeprecated.Deprecated.org.apache.http.protocol.HttpProcessorDeprecated.org.apache.http.protocol.HttpRequestExecutorDeprecated.org.apache.http.client.HttpRequestRetryHandlerDeprecated.org.apache.http.conn.routing.HttpRoutePlannerDeprecated.static org.apache.http.HttpRequestDeprecated.static HttpRequestInfoDeprecated.org.apache.commons.logging.LoggetLog()Deprecated.org.apache.http.client.AuthenticationHandlerDeprecated.org.apache.http.client.RedirectHandlerDeprecated.org.apache.http.client.AuthenticationHandlerDeprecated.org.apache.http.client.UserTokenHandlerDeprecated.static voidreset()Deprecated.
-
Field Details
-
log
protected org.apache.commons.logging.Log logDeprecated. -
connectionManager
Deprecated. -
httpRoutePlanner
protected org.apache.http.conn.routing.HttpRoutePlanner httpRoutePlannerDeprecated. -
connectionReuseStrategy
protected org.apache.http.ConnectionReuseStrategy connectionReuseStrategyDeprecated. -
connectionKeepAliveStrategy
Deprecated. -
httpRequestExecutor
protected org.apache.http.protocol.HttpRequestExecutor httpRequestExecutorDeprecated. -
httpProcessor
protected org.apache.http.protocol.HttpProcessor httpProcessorDeprecated. -
httpRequestRetryHandler
protected org.apache.http.client.HttpRequestRetryHandler httpRequestRetryHandlerDeprecated. -
redirectHandler
protected org.apache.http.client.RedirectHandler redirectHandlerDeprecated. -
targetAuthenticationHandler
protected org.apache.http.client.AuthenticationHandler targetAuthenticationHandlerDeprecated. -
proxyAuthenticationHandler
protected org.apache.http.client.AuthenticationHandler proxyAuthenticationHandlerDeprecated. -
userTokenHandler
protected org.apache.http.client.UserTokenHandler userTokenHandlerDeprecated. -
httpParams
Deprecated.
-
-
Constructor Details
-
ShadowDefaultRequestDirector
public ShadowDefaultRequestDirector()Deprecated.
-
-
Method Details
-
__constructor__
@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) Deprecated. -
__constructor__
@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. -
getLatestSentHttpRequest
public static org.apache.http.HttpRequest getLatestSentHttpRequest()Deprecated. -
getLatestSentHttpRequestInfo
Deprecated. -
execute
@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 Deprecated.- Throws:
org.apache.http.HttpExceptionIOException
-
getLog
public org.apache.commons.logging.Log getLog()Deprecated. -
getConnectionManager
Deprecated. -
getHttpRoutePlanner
public org.apache.http.conn.routing.HttpRoutePlanner getHttpRoutePlanner()Deprecated. -
getConnectionReuseStrategy
public org.apache.http.ConnectionReuseStrategy getConnectionReuseStrategy()Deprecated. -
getConnectionKeepAliveStrategy
Deprecated. -
getHttpRequestExecutor
public org.apache.http.protocol.HttpRequestExecutor getHttpRequestExecutor()Deprecated. -
getHttpProcessor
public org.apache.http.protocol.HttpProcessor getHttpProcessor()Deprecated. -
getHttpRequestRetryHandler
public org.apache.http.client.HttpRequestRetryHandler getHttpRequestRetryHandler()Deprecated. -
getRedirectHandler
public org.apache.http.client.RedirectHandler getRedirectHandler()Deprecated. -
getTargetAuthenticationHandler
public org.apache.http.client.AuthenticationHandler getTargetAuthenticationHandler()Deprecated. -
getProxyAuthenticationHandler
public org.apache.http.client.AuthenticationHandler getProxyAuthenticationHandler()Deprecated. -
getUserTokenHandler
public org.apache.http.client.UserTokenHandler getUserTokenHandler()Deprecated. -
getHttpParams
Deprecated. -
reset
Deprecated.
-