|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxinmy.weixin4j.http.factory.HttpClientFactory
com.foxinmy.weixin4j.http.support.okhttp.OkHttpClientFactory
public class OkHttpClientFactory
使用OkHttp
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.foxinmy.weixin4j.http.factory.HttpClientFactory |
|---|
HttpClientFactory.AllowHostnameVerifier, HttpClientFactory.AllowX509TrustManager |
| Constructor Summary | |
|---|---|
OkHttpClientFactory()
|
|
| Method Summary | |
|---|---|
HttpClient |
newInstance(HttpParams params)
获取HttpClient实例 |
| Methods inherited from class com.foxinmy.weixin4j.http.factory.HttpClientFactory |
|---|
allowSSLContext, getDefaultFactory, getDefaultParams, getInstance, getInstance, setDefaultFactory, setDefaultParams |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OkHttpClientFactory()
| Method Detail |
|---|
public HttpClient newInstance(HttpParams params)
HttpClientFactory
newInstance in class HttpClientFactoryparams - http参数 可为空
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||