Class AbstractAsyncOnlyHttpClient

  • All Implemented Interfaces:
    HttpClient, java.io.Closeable, java.lang.AutoCloseable

    public abstract class AbstractAsyncOnlyHttpClient
    extends java.lang.Object
    implements HttpClient
    • Constructor Detail

      • AbstractAsyncOnlyHttpClient

        public AbstractAsyncOnlyHttpClient()
    • Method Detail

      • execute

        public Response execute​(java.lang.String userAgent,
                                java.util.Map<java.lang.String,​java.lang.String> headers,
                                Verb httpVerb,
                                java.lang.String completeUrl,
                                byte[] bodyContents)
                         throws java.lang.InterruptedException,
                                java.util.concurrent.ExecutionException,
                                java.io.IOException
        Specified by:
        execute in interface HttpClient
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.io.IOException
      • execute

        @Deprecated
        public Response execute​(java.lang.String userAgent,
                                java.util.Map<java.lang.String,​java.lang.String> headers,
                                Verb httpVerb,
                                java.lang.String completeUrl,
                                MultipartPayload bodyContents)
                         throws java.lang.InterruptedException,
                                java.util.concurrent.ExecutionException,
                                java.io.IOException
        Deprecated.
        Specified by:
        execute in interface HttpClient
        Parameters:
        userAgent - userAgent
        headers - headers
        httpVerb - httpVerb
        completeUrl - completeUrl
        bodyContents - bodyContents
        Returns:
        return
        Throws:
        java.lang.InterruptedException - InterruptedException
        java.util.concurrent.ExecutionException - ExecutionException
        java.io.IOException - IOException
      • execute

        public Response execute​(java.lang.String userAgent,
                                java.util.Map<java.lang.String,​java.lang.String> headers,
                                Verb httpVerb,
                                java.lang.String completeUrl,
                                MultipartPayload bodyContents)
                         throws java.lang.InterruptedException,
                                java.util.concurrent.ExecutionException,
                                java.io.IOException
        Specified by:
        execute in interface HttpClient
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.io.IOException
      • execute

        public Response execute​(java.lang.String userAgent,
                                java.util.Map<java.lang.String,​java.lang.String> headers,
                                Verb httpVerb,
                                java.lang.String completeUrl,
                                java.lang.String bodyContents)
                         throws java.lang.InterruptedException,
                                java.util.concurrent.ExecutionException,
                                java.io.IOException
        Specified by:
        execute in interface HttpClient
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.io.IOException
      • execute

        public Response execute​(java.lang.String userAgent,
                                java.util.Map<java.lang.String,​java.lang.String> headers,
                                Verb httpVerb,
                                java.lang.String completeUrl,
                                java.io.File bodyContents)
                         throws java.lang.InterruptedException,
                                java.util.concurrent.ExecutionException,
                                java.io.IOException
        Specified by:
        execute in interface HttpClient
        Throws:
        java.lang.InterruptedException
        java.util.concurrent.ExecutionException
        java.io.IOException