@Implements(android.net.http.AndroidHttpClient.class) public class ShadowAndroidHttpClient extends Object
Constructor | Description |
---|---|
ShadowAndroidHttpClient() |
Modifier and Type | Method | Description |
---|---|---|
protected org.apache.http.HttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest) |
|
protected <T> T |
execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest,
org.apache.http.client.ResponseHandler<? extends T> responseHandler) |
|
protected <T> T |
execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest,
org.apache.http.client.ResponseHandler<? extends T> responseHandler,
org.apache.http.protocol.HttpContext httpContext) |
|
protected org.apache.http.HttpResponse |
execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest,
org.apache.http.protocol.HttpContext httpContext) |
|
protected org.apache.http.HttpResponse |
execute(org.apache.http.HttpHost httpHost,
org.apache.http.HttpRequest httpRequest) |
|
protected <T> T |
execute(org.apache.http.HttpHost httpHost,
org.apache.http.HttpRequest httpRequest,
org.apache.http.client.ResponseHandler<? extends T> responseHandler) |
|
protected <T> T |
execute(org.apache.http.HttpHost httpHost,
org.apache.http.HttpRequest httpRequest,
org.apache.http.client.ResponseHandler<? extends T> responseHandler,
org.apache.http.protocol.HttpContext httpContext) |
|
protected org.apache.http.HttpResponse |
execute(org.apache.http.HttpHost httpHost,
org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
|
protected ClientConnectionManager |
getConnectionManager() |
|
protected HttpParams |
getParams() |
|
protected static AndroidHttpClient |
newInstance(String userAgent) |
|
protected static AndroidHttpClient |
newInstance(String userAgent,
Context context) |
@Implementation protected static AndroidHttpClient newInstance(String userAgent)
@Implementation protected static AndroidHttpClient newInstance(String userAgent, Context context)
@Implementation protected HttpParams getParams()
@Implementation protected ClientConnectionManager getConnectionManager()
@Implementation protected org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
@Implementation protected org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest, org.apache.http.protocol.HttpContext httpContext) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
@Implementation protected org.apache.http.HttpResponse execute(org.apache.http.HttpHost httpHost, org.apache.http.HttpRequest httpRequest) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
@Implementation protected org.apache.http.HttpResponse execute(org.apache.http.HttpHost httpHost, org.apache.http.HttpRequest httpRequest, org.apache.http.protocol.HttpContext httpContext) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
@Implementation protected <T> T execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest, org.apache.http.client.ResponseHandler<? extends T> responseHandler) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
@Implementation protected <T> T execute(org.apache.http.client.methods.HttpUriRequest httpUriRequest, org.apache.http.client.ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext httpContext) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
@Implementation protected <T> T execute(org.apache.http.HttpHost httpHost, org.apache.http.HttpRequest httpRequest, org.apache.http.client.ResponseHandler<? extends T> responseHandler) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException
@Implementation protected <T> T execute(org.apache.http.HttpHost httpHost, org.apache.http.HttpRequest httpRequest, org.apache.http.client.ResponseHandler<? extends T> responseHandler, org.apache.http.protocol.HttpContext httpContext) throws IOException, org.apache.http.client.ClientProtocolException
IOException
org.apache.http.client.ClientProtocolException