Interface AsyncClientHttpRequestExecution

    • Method Detail

      • executeAsync

        ListenableFuture<ClientHttpResponseexecuteAsync​(HttpRequest request,
                                                          byte[] body)
                                                   throws IOException
        Deprecated.
        Resume the request execution by invoking the next interceptor in the chain or executing the request to the remote service.
        Parameters:
        request - the HTTP request, containing the HTTP method and headers
        body - the body of the request
        Returns:
        a corresponding future handle
        Throws:
        IOException - in case of I/O errors