Class ShadowAndroidHttpClient

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      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)  
    • Constructor Detail

      • ShadowAndroidHttpClient

        public ShadowAndroidHttpClient()
    • Method Detail

      • execute

        @Implementation
        protected org.apache.http.HttpResponse execute​(org.apache.http.client.methods.HttpUriRequest httpUriRequest)
                                                throws IOException,
                                                       org.apache.http.client.ClientProtocolException
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException
      • execute

        @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
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException
      • execute

        @Implementation
        protected org.apache.http.HttpResponse execute​(org.apache.http.HttpHost httpHost,
                                                       org.apache.http.HttpRequest httpRequest)
                                                throws IOException,
                                                       org.apache.http.client.ClientProtocolException
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException
      • 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 IOException,
                                                       org.apache.http.client.ClientProtocolException
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException
      • execute

        @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
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException
      • execute

        @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
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException
      • execute

        @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
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException
      • execute

        @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
        Throws:
        IOException
        org.apache.http.client.ClientProtocolException