Class HttpClient42

  • All Implemented Interfaces:
    HttpClient

    public class HttpClient42
    extends Object
    implements HttpClient
    * This class implements methods to work with httpclient version 4.2
    • Constructor Detail

      • HttpClient42

        public HttpClient42​(org.apache.http.impl.client.DefaultHttpClient client)
      • HttpClient42

        public HttpClient42​(org.apache.http.impl.client.DecompressingHttpClient client)
    • Method Detail

      • execute

        public org.apache.http.HttpResponse execute​(org.apache.http.client.methods.HttpUriRequest request)
                                             throws Exception
        Description copied from interface: HttpClient
        This method will send http request
        Specified by:
        execute in interface HttpClient
        Parameters:
        request - request which should be send to host
        Returns:
        response returned by host
        Throws:
        Exception