com.foxinmy.weixin4j.http.support.okhttp
Class OkHttpClient2
java.lang.Object
com.foxinmy.weixin4j.http.AbstractHttpClient
com.foxinmy.weixin4j.http.support.okhttp.OkHttpClient2
- All Implemented Interfaces:
- HttpClient
public class OkHttpClient2
- extends AbstractHttpClient
OkHttp2
- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
|
Constructor Summary |
OkHttpClient2(com.squareup.okhttp.OkHttpClient okClient)
|
| Methods inherited from class com.foxinmy.weixin4j.http.AbstractHttpClient |
delete, delete, get, get, head, head, options, options, post, post, post, put, put |
OkHttpClient2
public OkHttpClient2(com.squareup.okhttp.OkHttpClient okClient)
execute
public HttpResponse execute(HttpRequest request)
throws HttpClientException
- Description copied from interface:
HttpClient
- 处理请求
- Parameters:
request - 请求对象
- Returns:
- 响应对象
- Throws:
HttpClientException
Copyright © 2014–2017. All rights reserved.