Class Apache5SdkHttpClient

    • Constructor Summary

      Constructors 
      Constructor Description
      Apache5SdkHttpClient​(org.apache.hc.client5.http.classic.HttpClient delegate, org.apache.hc.client5.http.io.HttpClientConnectionManager cm)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.hc.core5.http.HttpResponse execute​(org.apache.hc.core5.http.ClassicHttpRequest request)  
      <T> T execute​(org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)  
      org.apache.hc.core5.http.HttpResponse execute​(org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)  
      <T> T execute​(org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)  
      org.apache.hc.core5.http.ClassicHttpResponse execute​(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request)  
      <T> T execute​(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)  
      org.apache.hc.core5.http.HttpResponse execute​(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)  
      <T> T execute​(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context, org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)  
      org.apache.hc.core5.http.ClassicHttpResponse executeOpen​(org.apache.hc.core5.http.HttpHost target, org.apache.hc.core5.http.ClassicHttpRequest request, org.apache.hc.core5.http.protocol.HttpContext context)  
      org.apache.hc.client5.http.io.HttpClientConnectionManager getHttpClientConnectionManager()
      Returns the HttpClientConnectionManager associated with the http client.
    • Constructor Detail

      • Apache5SdkHttpClient

        public Apache5SdkHttpClient​(org.apache.hc.client5.http.classic.HttpClient delegate,
                                    org.apache.hc.client5.http.io.HttpClientConnectionManager cm)
    • Method Detail

      • execute

        public org.apache.hc.core5.http.HttpResponse execute​(org.apache.hc.core5.http.ClassicHttpRequest request)
                                                      throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • execute

        public org.apache.hc.core5.http.HttpResponse execute​(org.apache.hc.core5.http.ClassicHttpRequest request,
                                                             org.apache.hc.core5.http.protocol.HttpContext context)
                                                      throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • execute

        public org.apache.hc.core5.http.ClassicHttpResponse execute​(org.apache.hc.core5.http.HttpHost target,
                                                                    org.apache.hc.core5.http.ClassicHttpRequest request)
                                                             throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • executeOpen

        public org.apache.hc.core5.http.ClassicHttpResponse executeOpen​(org.apache.hc.core5.http.HttpHost target,
                                                                        org.apache.hc.core5.http.ClassicHttpRequest request,
                                                                        org.apache.hc.core5.http.protocol.HttpContext context)
                                                                 throws IOException
        Specified by:
        executeOpen in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • execute

        public org.apache.hc.core5.http.HttpResponse execute​(org.apache.hc.core5.http.HttpHost target,
                                                             org.apache.hc.core5.http.ClassicHttpRequest request,
                                                             org.apache.hc.core5.http.protocol.HttpContext context)
                                                      throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • execute

        public <T> T execute​(org.apache.hc.core5.http.ClassicHttpRequest request,
                             org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)
                      throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • execute

        public <T> T execute​(org.apache.hc.core5.http.ClassicHttpRequest request,
                             org.apache.hc.core5.http.protocol.HttpContext context,
                             org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)
                      throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • execute

        public <T> T execute​(org.apache.hc.core5.http.HttpHost target,
                             org.apache.hc.core5.http.ClassicHttpRequest request,
                             org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)
                      throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException
      • execute

        public <T> T execute​(org.apache.hc.core5.http.HttpHost target,
                             org.apache.hc.core5.http.ClassicHttpRequest request,
                             org.apache.hc.core5.http.protocol.HttpContext context,
                             org.apache.hc.core5.http.io.HttpClientResponseHandler<? extends T> responseHandler)
                      throws IOException
        Specified by:
        execute in interface org.apache.hc.client5.http.classic.HttpClient
        Throws:
        IOException