| 程序包 | 说明 |
|---|---|
| me.chanjar.weixin.common.util.http | |
| me.chanjar.weixin.common.util.http.okhttp |
| 限定符和类型 | 方法和说明 |
|---|---|
T |
RequestExecutor.executeOkhttp(okhttp3.ConnectionPool pool,
OkhttpProxyInfo proxyInfo,
String uri,
E data)
okhttp实现方式
|
WxMediaUploadResult |
MediaUploadRequestExecutor.executeOkhttp(okhttp3.ConnectionPool pool,
OkhttpProxyInfo proxyInfo,
String uri,
File file)
okhttp现实方式
|
String |
SimplePostRequestExecutor.executeOkhttp(okhttp3.ConnectionPool pool,
OkhttpProxyInfo proxyInfo,
String uri,
String postEntity)
okHttp实现方式
|
String |
SimpleGetRequestExecutor.executeOkhttp(okhttp3.ConnectionPool pool,
OkhttpProxyInfo proxyInfo,
String uri,
String queryParam)
okHttp实现方式
|
File |
MediaDownloadRequestExecutor.executeOkhttp(okhttp3.ConnectionPool pool,
OkhttpProxyInfo proxyInfo,
String uri,
String queryParam)
okhttp现实方式
|
| 限定符和类型 | 方法和说明 |
|---|---|
static OkhttpProxyInfo |
OkhttpProxyInfo.directProxy()
Creates directProxy.
|
static OkhttpProxyInfo |
OkhttpProxyInfo.httpProxy(String proxyAddress,
int proxyPort,
String proxyUser,
String proxyPassword)
Creates HTTP proxy.
|
static OkhttpProxyInfo |
OkhttpProxyInfo.socks4Proxy(String proxyAddress,
int proxyPort,
String proxyUser)
Creates SOCKS4 proxy.
|
static OkhttpProxyInfo |
OkhttpProxyInfo.socks5Proxy(String proxyAddress,
int proxyPort,
String proxyUser,
String proxyPassword)
Creates SOCKS5 proxy.
|
Copyright © 2017. All rights reserved.