接口 AsyncHttpClientRequest

所有超级接口:
AutoCloseable, Closeable
所有已知实现类:
DefaultAsyncHttpClientRequest

public interface AsyncHttpClientRequest extends Closeable
Represents a client-side Async HTTP request. Created via an implementation execute.
作者:
mai.jh
  • 方法详细资料

    • execute

      <T> void execute(URI uri, String httpMethod, RequestHttpEntity requestHttpEntity, ResponseHandler<T> responseHandler, Callback<T> callback) throws Exception
      execute async http request.
      参数:
      uri - http url
      httpMethod - http request method
      requestHttpEntity - http request entity
      responseHandler - http response handler
      callback - http response callback
      抛出:
      Exception - ex