Class WeChatMpInRedisConfigStorage

  • All Implemented Interfaces:

    public class WeChatMpInRedisConfigStorageextends Objectimplements
    ?? Redis ????? provider
    2018?8?28? ??3:48:00
    • Constructor Detail

      • WeChatMpInRedisConfigStorage

        public WeChatMpInRedisConfigStorage()
    • Method Detail

      • getAccessToken

        public String getAccessToken()
        Specified by:
        getAccessToken in interface
      • getAccessTokenLock

        public Lock getAccessTokenLock()
        Specified by:
        getAccessTokenLock in interface
      • isAccessTokenExpired

        public boolean isAccessTokenExpired()
        Specified by:
        isAccessTokenExpired in interface
      • expireAccessToken

        public void expireAccessToken()
        Specified by:
        expireAccessToken in interface
      • updateAccessToken

        public void updateAccessToken(me.chanjar.weixin.common.bean.WxAccessToken accessToken)
        Specified by:
        updateAccessToken in interface
      • updateAccessToken

        public void updateAccessToken(String accessToken,                              int expiresInSeconds)
        Specified by:
        updateAccessToken in interface
      • getAppId

        public String getAppId()
        Specified by:
        getAppId in interface
      • getSecret

        public String getSecret()
        Specified by:
        getSecret in interface
      • getToken

        public String getToken()
        Specified by:
        getToken in interface
      • getAesKey

        public String getAesKey()
        Specified by:
        getAesKey in interface
      • getTemplateId

        public String getTemplateId()
        Specified by:
        getTemplateId in interface
      • getExpiresTime

        public long getExpiresTime()
        Specified by:
        getExpiresTime in interface
      • getOauth2redirectUri

        public String getOauth2redirectUri()
        Specified by:
        getOauth2redirectUri in interface
      • getHttpProxyHost

        public String getHttpProxyHost()
        Specified by:
        getHttpProxyHost in interface
      • getHttpProxyPort

        public int getHttpProxyPort()
        Specified by:
        getHttpProxyPort in interface
      • getHttpProxyUsername

        public String getHttpProxyUsername()
        Specified by:
        getHttpProxyUsername in interface
      • getHttpProxyPassword

        public String getHttpProxyPassword()
        Specified by:
        getHttpProxyPassword in interface
      • getTmpDirFile

        public File getTmpDirFile()
        Specified by:
        getTmpDirFile in interface
      • getApacheHttpClientBuilder

        public me.chanjar.weixin.common.util.http.apache.ApacheHttpClientBuilder getApacheHttpClientBuilder()
        Specified by:
        getApacheHttpClientBuilder in interface
      • autoRefreshToken

        public boolean autoRefreshToken()
        Specified by:
        autoRefreshToken in interface
      • getTicket

        public String getTicket( type)
        Specified by:
        getTicket in interface
      • getTicketLock

        public Lock getTicketLock( type)
        Specified by:
        getTicketLock in interface
      • getTicketExpiresTime

        public long getTicketExpiresTime( type)
        ?? ticket ????
        type - ticket??
      • isTicketExpired

        public boolean isTicketExpired( type)
        Specified by:
        isTicketExpired in interface
      • expireTicket

        public void expireTicket( type)
        Specified by:
        expireTicket in interface
      • updateTicket

        public void updateTicket( type,                         String ticket,                         int expiresInSeconds)
        Specified by:
        updateTicket in interface

Copyright © 2018–2019. All rights reserved.

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