public class WxChannelServiceOkHttpImpl extends BaseWxChannelServiceImpl<okhttp3.OkHttpClient,OkHttpProxyInfo>
| 限定符和类型 | 字段和说明 |
|---|---|
protected Object |
globalAccessTokenRefreshLock |
config| 构造器和说明 |
|---|
WxChannelServiceOkHttpImpl(Boolean stabled,
Boolean forceRefresh)
设置调用接口参数.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
doGetAccessTokenRequest()
通过网络请求获取AccessToken
|
okhttp3.OkHttpClient |
getRequestHttpClient() |
OkHttpProxyInfo |
getRequestHttpProxy() |
HttpType |
getRequestType() |
void |
initHttp()
初始化http请求对象.
|
String |
internalGetAccessToken(boolean forceRefresh) |
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, uploadprotected final Object globalAccessTokenRefreshLock
public void initHttp()
BaseWxChannelServicepublic okhttp3.OkHttpClient getRequestHttpClient()
public OkHttpProxyInfo getRequestHttpProxy()
public HttpType getRequestType()
protected String doGetAccessTokenRequest() throws WxErrorException
BaseWxChannelServiceImpldoGetAccessTokenRequest 在类中 BaseWxChannelServiceImpl<okhttp3.OkHttpClient,OkHttpProxyInfo>WxErrorExceptionpublic String internalGetStableAccessToken(boolean forceRefresh) throws WxErrorException
WxErrorExceptionpublic String internalGetAccessToken(boolean forceRefresh) throws WxErrorException
WxErrorExceptionCopyright © 2024. All rights reserved.