接口 AsyncHttpClientRequest
- 所有超级接口:
AutoCloseable,Closeable
- 所有已知实现类:
DefaultAsyncHttpClientRequest
Represents a client-side Async HTTP request. Created via an implementation execute.
- 作者:
- mai.jh
-
方法概要
修饰符和类型方法说明<T> voidexecute(URI uri, String httpMethod, RequestHttpEntity requestHttpEntity, ResponseHandler<T> responseHandler, Callback<T> callback)execute async http request.
-
方法详细资料
-
execute
<T> void execute(URI uri, String httpMethod, RequestHttpEntity requestHttpEntity, ResponseHandler<T> responseHandler, Callback<T> callback) throws Exceptionexecute async http request.- 参数:
uri- http urlhttpMethod- http request methodrequestHttpEntity- http request entityresponseHandler- http response handlercallback- http response callback- 抛出:
Exception- ex
-