public class WxCpCorpGroupDefaultConfigImpl extends Object implements WxCpCorpGroupConfigStorage, Serializable
| 构造器和说明 | 
|---|
| WxCpCorpGroupDefaultConfigImpl() | 
| 限定符和类型 | 方法和说明 | 
|---|---|
| boolean | autoRefreshToken()Auto refresh token boolean. | 
| void | expireCorpAccessToken(String corpId,
                     Integer agentId)Expire access token. | 
| Integer | getAgentId()Gets agent id. | 
| ApacheHttpClientBuilder | getApacheHttpClientBuilder()Gets apache http client builder. | 
| String | getApiUrl(String path)读取企业微信 API Url. | 
| String | getCorpAccessToken(String corpId,
                  Integer agentId)授权企业的access token相关 | 
| WxAccessToken | getCorpAccessTokenEntity(String corpId,
                        Integer agentId)Gets access token entity. | 
| Lock | getCorpAccessTokenLock(String corpId,
                      Integer agentId)Gets access token lock. | 
| String | getCorpId()Gets corp id. | 
| String | getHttpProxyHost()网络代理相关 | 
| String | getHttpProxyPassword()Gets http proxy password. | 
| int | getHttpProxyPort()Gets http proxy port. | 
| String | getHttpProxyUsername()Gets http proxy username. | 
| boolean | isCorpAccessTokenExpired(String corpId,
                        Integer agentId)Is access token expired boolean. | 
| void | setAgentId(Integer agentId) | 
| void | setApacheHttpClientBuilder(ApacheHttpClientBuilder apacheHttpClientBuilder)Sets apache http client builder. | 
| void | setBaseApiUrl(String baseUrl)设置企业微信服务器 baseUrl. | 
| void | setCorpId(String corpId) | 
| void | setHttpProxyHost(String httpProxyHost)Sets http proxy host. | 
| void | setHttpProxyPassword(String httpProxyPassword)Sets http proxy password. | 
| void | setHttpProxyPort(int httpProxyPort)Sets http proxy port. | 
| void | setHttpProxyUsername(String httpProxyUsername)Sets http proxy username. | 
| void | updateCorpAccessToken(String corpId,
                     Integer agentId,
                     String corpAccessToken,
                     int expiresInSeconds)Update corp access token. | 
public void setBaseApiUrl(String baseUrl)
WxCpCorpGroupConfigStoragesetBaseApiUrl 在接口中 WxCpCorpGroupConfigStoragebaseUrl - 企业微信服务器 Urlpublic String getApiUrl(String path)
WxCpCorpGroupConfigStoragegetApiUrl 在接口中 WxCpCorpGroupConfigStoragepath - the pathpublic String getCorpId()
WxCpCorpGroupConfigStoragegetCorpId 在接口中 WxCpCorpGroupConfigStoragepublic void setCorpId(String corpId)
setCorpId 在接口中 WxCpCorpGroupConfigStoragepublic Integer getAgentId()
WxCpCorpGroupConfigStoragegetAgentId 在接口中 WxCpCorpGroupConfigStoragepublic void setAgentId(Integer agentId)
setAgentId 在接口中 WxCpCorpGroupConfigStoragepublic void updateCorpAccessToken(String corpId, Integer agentId, String corpAccessToken, int expiresInSeconds)
WxCpCorpGroupConfigStorageupdateCorpAccessToken 在接口中 WxCpCorpGroupConfigStoragecorpAccessToken - the corp access tokenexpiresInSeconds - the expires in secondspublic String getCorpAccessToken(String corpId, Integer agentId)
WxCpCorpGroupConfigStoragegetCorpAccessToken 在接口中 WxCpCorpGroupConfigStoragecorpId - the corp idpublic WxAccessToken getCorpAccessTokenEntity(String corpId, Integer agentId)
WxCpCorpGroupConfigStoragegetCorpAccessTokenEntity 在接口中 WxCpCorpGroupConfigStoragecorpId - the  corp idpublic boolean isCorpAccessTokenExpired(String corpId, Integer agentId)
WxCpCorpGroupConfigStorageisCorpAccessTokenExpired 在接口中 WxCpCorpGroupConfigStoragecorpId - the  corp idpublic void expireCorpAccessToken(String corpId, Integer agentId)
WxCpCorpGroupConfigStorageexpireCorpAccessToken 在接口中 WxCpCorpGroupConfigStoragecorpId - the  corp idpublic String getHttpProxyHost()
WxCpCorpGroupConfigStoragegetHttpProxyHost 在接口中 WxCpCorpGroupConfigStoragepublic void setHttpProxyHost(String httpProxyHost)
httpProxyHost - the http proxy hostpublic int getHttpProxyPort()
WxCpCorpGroupConfigStoragegetHttpProxyPort 在接口中 WxCpCorpGroupConfigStoragepublic void setHttpProxyPort(int httpProxyPort)
httpProxyPort - the http proxy portpublic String getHttpProxyUsername()
WxCpCorpGroupConfigStoragegetHttpProxyUsername 在接口中 WxCpCorpGroupConfigStoragepublic void setHttpProxyUsername(String httpProxyUsername)
httpProxyUsername - the http proxy usernamepublic String getHttpProxyPassword()
WxCpCorpGroupConfigStoragegetHttpProxyPassword 在接口中 WxCpCorpGroupConfigStoragepublic void setHttpProxyPassword(String httpProxyPassword)
httpProxyPassword - the http proxy passwordpublic ApacheHttpClientBuilder getApacheHttpClientBuilder()
WxCpCorpGroupConfigStoragegetApacheHttpClientBuilder 在接口中 WxCpCorpGroupConfigStoragepublic void setApacheHttpClientBuilder(ApacheHttpClientBuilder apacheHttpClientBuilder)
apacheHttpClientBuilder - the apache http client builderpublic boolean autoRefreshToken()
WxCpCorpGroupConfigStorageautoRefreshToken 在接口中 WxCpCorpGroupConfigStoragepublic Lock getCorpAccessTokenLock(String corpId, Integer agentId)
WxCpCorpGroupConfigStoragegetCorpAccessTokenLock 在接口中 WxCpCorpGroupConfigStoragecorpId - the corp idCopyright © 2024. All rights reserved.