app.myoss.wechat.mp.api.impl

Class WeChatMpServiceOkHttpImpl

  • java.lang.Object
    • me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl<okhttp3.OkHttpClient,me.chanjar.weixin.common.util.http.okhttp.OkHttpProxyInfo>
      • me.chanjar.weixin.mp.api.impl.WxMpServiceOkHttpImpl
        • app.myoss.wechat.mp.api.impl.WeChatMpServiceOkHttpImpl
  • All Implemented Interfaces:
    me.chanjar.weixin.common.util.http.RequestHttp<okhttp3.OkHttpClient,me.chanjar.weixin.common.util.http.okhttp.OkHttpProxyInfo>, me.chanjar.weixin.mp.api.WxMpService


    public class WeChatMpServiceOkHttpImplextends me.chanjar.weixin.mp.api.impl.WxMpServiceOkHttpImpl
    ?????API??????? OkHttp3 ????
    Since:
    2018?8?28? ??4:39:26
    Author:
    Jerry.Chen
    • Field Summary

      • Fields inherited from class me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl

        log, sessionManager, wxMpConfigStorage
      • Fields inherited from interface me.chanjar.weixin.mp.api.WxMpService

        CLEAR_QUOTA_URL, CONNECT_OAUTH2_AUTHORIZE_URL, GET_ACCESS_TOKEN_URL, GET_CALLBACK_IP_URL, GET_CURRENT_AUTOREPLY_INFO_URL, GET_TICKET_URL, OAUTH2_ACCESS_TOKEN_URL, OAUTH2_REFRESH_TOKEN_URL, OAUTH2_USERINFO_URL, OAUTH2_VALIDATE_TOKEN_URL, QRCONNECT_URL, SEMANTIC_SEMPROXY_SEARCH_URL, SHORTURL_API_URL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      StringgetAccessToken(boolean forceRefresh)
      ?? access_token ?
      StringgetTicket(me.chanjar.weixin.mp.enums.TicketType type, boolean forceRefresh)
      ?? ticket ?
      • Methods inherited from class me.chanjar.weixin.mp.api.impl.WxMpServiceOkHttpImpl

        getRequestHttpClient, getRequestHttpProxy, getRequestType, initHttp
      • Methods inherited from class me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl

        buildQrConnectUrl, checkSignature, clearQuota, createJsapiSignature, execute, executeInternal, get, getAccessToken, getAiOpenService, getBlackListService, getCallbackIP, getCardService, getCurrentAutoReplyInfo, getDataCubeService, getDeviceService, getJsapiTicket, getJsapiTicket, getKefuService, getMassMessageService, getMaterialService, getMemberCardService, getMenuService, getQrcodeService, getRequestHttp, getShakeService, getStoreService, getSubscribeMsgService, getTemplateMsgService, getTicket, getUserService, getUserTagService, getWifiService, getWxMpConfigStorage, oauth2buildAuthorizationUrl, oauth2getAccessToken, oauth2getUserInfo, oauth2refreshAccessToken, oauth2validateAccessToken, post, semanticQuery, setAiOpenService, setBlackListService, setCardService, setDataCubeService, setDeviceService, setKefuService, setMassMessageService, setMaterialService, setMaxRetryTimes, setMemberCardService, setMenuService, setQrCodeService, setRetrySleepMillis, setShakeService, setStoreService, setTagService, setTemplateMsgService, setUserService, setWxMpConfigStorage, shortUrl
    • Constructor Detail

      • WeChatMpServiceOkHttpImpl

        public WeChatMpServiceOkHttpImpl()
    • Method Detail

      • getAccessToken

        public String getAccessToken(boolean forceRefresh)                      throws me.chanjar.weixin.common.error.WxErrorException
        ?? access_token ?
        Specified by:
        getAccessToken in interface me.chanjar.weixin.mp.api.WxMpService
        Overrides:
        getAccessToken in class me.chanjar.weixin.mp.api.impl.WxMpServiceOkHttpImpl
        Parameters:
        forceRefresh - ??????
        Returns:
        access_token ?
        Throws:
        me.chanjar.weixin.common.error.WxErrorException
      • getTicket

        public String getTicket(me.chanjar.weixin.mp.enums.TicketType type,                        boolean forceRefresh)                 throws me.chanjar.weixin.common.error.WxErrorException
        ?? ticket ?
        Specified by:
        getTicket in interface me.chanjar.weixin.mp.api.WxMpService
        Overrides:
        getTicket in class me.chanjar.weixin.mp.api.impl.BaseWxMpServiceImpl<okhttp3.OkHttpClient,me.chanjar.weixin.common.util.http.okhttp.OkHttpProxyInfo>
        Parameters:
        type - ticket??
        forceRefresh - ??????
        Returns:
        ticket ?
        Throws:
        me.chanjar.weixin.common.error.WxErrorException

Copyright © 2018–2019. All rights reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14