public class WxChannelServiceHttpClientImpl extends BaseWxChannelServiceImpl<org.apache.http.client.HttpClient,org.apache.http.HttpHost>
config| 构造器和说明 |
|---|
WxChannelServiceHttpClientImpl(Boolean stabled,
Boolean forceRefresh)
设置调用接口参数.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
doGetAccessTokenRequest()
通过网络请求获取AccessToken
|
org.apache.http.impl.client.CloseableHttpClient |
getRequestHttpClient() |
org.apache.http.HttpHost |
getRequestHttpProxy() |
HttpType |
getRequestType() |
void |
initHttp()
初始化http请求对象.
|
protected String |
internalGetAccessToken()
获取access_token
|
protected String |
internalGetStableAccessToken(Boolean forceRefresh)
获取稳定版接口调用凭据
|
checkSignature, execute, execute0, executeInternal, executeWithoutLog, extractAccessToken, get, getAccessToken, getAccessToken, getAddressService, getAfterSaleService, getAssistantService, getBasicService, getBrandService, getCategoryService, getConfig, getCouponService, getFinderLiveService, getFreightTemplateService, getFundService, getLeadComponentService, getLeagueProductService, getLeaguePromoterService, getLeagueSupplierService, getLeagueWindowService, getOrderService, getProductService, getRequestHttp, getSharerService, getVipService, getWarehouseService, post, post, post, post, setConfig, setMaxRetryTimes, setRetrySleepMillis, uploadpublic void initHttp()
BaseWxChannelServicepublic org.apache.http.impl.client.CloseableHttpClient getRequestHttpClient()
public org.apache.http.HttpHost getRequestHttpProxy()
public HttpType getRequestType()
protected String doGetAccessTokenRequest() throws WxErrorException
BaseWxChannelServiceImpldoGetAccessTokenRequest 在类中 BaseWxChannelServiceImpl<org.apache.http.client.HttpClient,org.apache.http.HttpHost>WxErrorExceptionprotected String internalGetAccessToken() throws IOException
IOException - the io exceptionprotected String internalGetStableAccessToken(Boolean forceRefresh) throws IOException
forceRefresh - false 为普通模式, true为强制刷新模式IOException - the io exceptionCopyright © 2024. All rights reserved.