Class HttpClient45

  • All Implemented Interfaces:
    HttpClient

    public class HttpClient45
    extends Object
    implements HttpClient
    This class implements methods to work with httpclient version 4.5
    • Constructor Detail

      • HttpClient45

        public HttpClient45​(org.apache.http.impl.client.CloseableHttpClient 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