T - 返回值类型E - 请求参数类型public interface RequestExecutor<T,E>
| 限定符和类型 | 方法和说明 |
|---|---|
T |
execute(org.apache.http.impl.client.CloseableHttpClient httpclient,
org.apache.http.HttpHost httpProxy,
String uri,
E data) |
T execute(org.apache.http.impl.client.CloseableHttpClient httpclient, org.apache.http.HttpHost httpProxy, String uri, E data) throws WxErrorException, IOException
httpclient - 传入的httpClienthttpProxy - http代理对象,如果没有配置代理则为空uri - uridata - 数据WxErrorExceptionorg.apache.http.client.ClientProtocolExceptionIOExceptionCopyright © 2016. All rights reserved.