public class SimplePostRequestExecutor extends AbstractRequestExecutor<String,String>
| 构造器和说明 |
|---|
SimplePostRequestExecutor() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
executeApache(org.apache.http.impl.client.CloseableHttpClient httpclient,
org.apache.http.HttpHost httpProxy,
String uri,
String postEntity)
apache-http实现方式
|
String |
executeJodd(jodd.http.HttpConnectionProvider provider,
jodd.http.ProxyInfo proxyInfo,
String uri,
String postEntity)
jodd-http实现方式
|
String |
executeOkhttp(okhttp3.ConnectionPool pool,
OkhttpProxyInfo proxyInfo,
String uri,
String postEntity)
okHttp实现方式
|
executepublic String executeApache(org.apache.http.impl.client.CloseableHttpClient httpclient, org.apache.http.HttpHost httpProxy, String uri, String postEntity) throws WxErrorException, IOException
httpclient - httpProxy - uri - postEntity - WxErrorExceptionIOExceptionpublic String executeJodd(jodd.http.HttpConnectionProvider provider, jodd.http.ProxyInfo proxyInfo, String uri, String postEntity) throws WxErrorException, IOException
provider - proxyInfo - uri - postEntity - WxErrorExceptionIOExceptionpublic String executeOkhttp(okhttp3.ConnectionPool pool, OkhttpProxyInfo proxyInfo, String uri, String postEntity) throws WxErrorException, IOException
pool - proxyInfo - uri - postEntity - WxErrorExceptionIOExceptionCopyright © 2017. All rights reserved.