public class WxOpenServiceApacheHttpClientImpl extends WxOpenServiceAbstractImpl<org.apache.http.impl.client.CloseableHttpClient,org.apache.http.HttpHost>
log, wxOpenComponentService
构造器和说明 |
---|
WxOpenServiceApacheHttpClientImpl() |
限定符和类型 | 方法和说明 |
---|---|
String |
get(String url,
String queryParam)
当本Service没有实现某个API的时候,可以用这个,针对所有微信API中的GET请求
|
org.apache.http.impl.client.CloseableHttpClient |
getRequestHttpClient() |
org.apache.http.HttpHost |
getRequestHttpProxy() |
HttpType |
getRequestType() |
String |
post(String url,
String postData)
当本Service没有实现某个API的时候,可以用这个,针对所有微信API中的POST请求
|
execute, getWxOpenComponentService, getWxOpenConfigStorage, setWxOpenConfigStorage
public org.apache.http.impl.client.CloseableHttpClient getRequestHttpClient()
public org.apache.http.HttpHost getRequestHttpProxy()
public HttpType getRequestType()
public String get(String url, String queryParam) throws WxErrorException
WxOpenService
WxErrorException
public String post(String url, String postData) throws WxErrorException
WxOpenService
WxErrorException
Copyright © 2017. All rights reserved.