Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chensheng/wechatty-project
/ functions
Functions
1,310 in github.com/chensheng/wechatty-project
⨍
Functions
1,310
◇
Types & classes
206
↓ 59 callers
Method
getExceptionDetails
(Throwable cause)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/ExceptionUtil.java:4
↓ 28 callers
Method
getWechatRequester
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/AppContext.java:63
↓ 28 callers
Method
toString
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/PayScene.java:19
↓ 25 callers
Method
getAccessTokenFetcher
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/AppContext.java:55
↓ 24 callers
Method
isEmpty
(String str)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/StringUtil.java:15
↓ 17 callers
Method
fromXMLIgnoreUnknownElements
Convert from XML string to POJO, and ignore unknown elements. @param xmlStr xml string @param clzz class of return object @param allowExternalEntity w
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/XmlUtil.java:92
↓ 17 callers
Method
getAccessToken
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/auth/AuthAccessTokenResponse.java:24
↓ 17 callers
Method
getWechatContext
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/PayHelper.java:477
↓ 17 callers
Method
toString
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/JsonBean.java:5
↓ 13 callers
Method
getAppId
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/util/MpWechatContext.java:56
↓ 13 callers
Method
isNotEmpty
(String str)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/StringUtil.java:23
↓ 11 callers
Method
getRandomStr
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/StringUtil.java:79
↓ 11 callers
Method
postString
@param url request URL @param postString request body @param retClzz class of response object @return null if network error @throws NullPointerExcepti
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/WechatRequester.java:69
↓ 11 callers
Method
sign
(Map<String, Object> params, MpAppContext appContext)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/PaySignTool.java:33
↓ 9 callers
Method
getPayMchId
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/util/MpWechatContext.java:96
↓ 9 callers
Method
nonEmptyMapper
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/JsonMapper.java:21
↓ 9 callers
Method
postStringAndRespXml
@param url request URL @param postString request body @param retClzz class of response body @return null if network error @throws NullPointerException
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/WechatRequester.java:216
↓ 9 callers
Method
setSign
(String sign)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/PayRequest.java:19
↓ 8 callers
Method
get
(String openId)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/user/UserInfoQuery.java:21
↓ 8 callers
Method
setMchId
Required @param mchId
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/RefundRequest.java:80
↓ 8 callers
Method
setNonceStr
Required @param nonceStr
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/RefundRequest.java:92
↓ 7 callers
Method
getPoolingHttpUtil
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/AppContext.java:95
↓ 6 callers
Method
build
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/util/WechatMpBootstrap.java:62
↓ 6 callers
Method
fromJson
(String jsonString, Class<T> clazz)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/JsonMapper.java:56
↓ 6 callers
Method
getName
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/material/MediaListResponse.java:25
↓ 6 callers
Method
getValue
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/FileTypeViewer.java:121
↓ 6 callers
Method
getWechatContext
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/AppContext.java:31
↓ 6 callers
Method
size
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/ByteGroup.java:23
↓ 6 callers
Method
updateIfNecessary
(Object resp)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/AccessTokenFetcher.java:86
↓ 5 callers
Method
addBytes
(byte[] bytes)
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/ByteGroup.java:16
↓ 5 callers
Method
bytesToHex
(byte[] bytes)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/MD5Utils.java:75
↓ 5 callers
Method
get
@param url request URL @param retClzz class of response object @param <T> @return null if network error @throws NullPointerException if any argument i
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/WechatRequester.java:37
↓ 5 callers
Method
setAppId
Required @param appId
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/RefundRequest.java:68
↓ 4 callers
Method
code
(byte[] input, int bit)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/MD5Utils.java:37
↓ 4 callers
Method
doCreate
(PostData postData)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/account/QRCodeCreator.java:68
↓ 4 callers
Method
doSendMessageWithRetry
send message with retry when fail to send message @param sendUrl URL of sending message @param message message to send @param retry retry times, {@cod
wechatty-common/src/main/java/space/chensheng/wechatty/common/message/MessageSender.java:26
↓ 4 callers
Method
fromXML
Convert from XML string to POJO @param xmlStr xml string @param clzz class of return object @param allowExternalEntity whether to convert XML with {@c
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/XmlUtil.java:58
↓ 4 callers
Method
get
(String url)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/PoolingHttpUtil.java:34
↓ 4 callers
Method
getAppContext
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/material/Material.java:53
↓ 4 callers
Method
getHttpClientCustomizer
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/AppContext.java:87
↓ 4 callers
Method
getMultiPartUploader
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/AppContext.java:71
↓ 4 callers
Method
toJson
(Object object)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/JsonMapper.java:48
↓ 4 callers
Method
toString
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/message/EventType.java:27
↓ 3 callers
Method
createXStream
(final Class<?> targetClass)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/XmlUtil.java:126
↓ 3 callers
Method
doGetType
(String fileHeader)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/FileTypeViewer.java:22
↓ 3 callers
Method
encode
(String rawString)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/SHA1Utils.java:14
↓ 3 callers
Method
getEnableCryptedMode
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:220
↓ 3 callers
Method
getFileHeader
(String filePath)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/FileTypeViewer.java:36
↓ 3 callers
Method
getMsgType
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/message/base/ReplyMessage.java:53
↓ 3 callers
Method
getPayClientIp
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/util/MpWechatContext.java:104
↓ 3 callers
Method
getReqInfo
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/RefundNotifyResponse.java:48
↓ 3 callers
Method
getSHA1
用SHA1算法生成安全签名 @param token 票据 @param timestamp 时间戳 @param nonce 随机字符串 @param encrypt 密文 @return 安全签名 @throws AesException
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/SHA1.java:30
↓ 3 callers
Method
getWxBizMsgCrypt
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/AppContext.java:39
↓ 3 callers
Method
toXML
Convert from POJO to XML string @param pojo object to convert @return XML string stands for the POJO
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/XmlUtil.java:33
↓ 2 callers
Method
addArticle
(String title, String description, String picUrl, String url)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/message/reply/NewsReplyMessage.java:28
↓ 2 callers
Method
checkNotNull
(Class<?> clzz)
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:140
↓ 2 callers
Method
containsExternalEntity
(String xmlStr)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/XmlUtil.java:225
↓ 2 callers
Method
createPermanentPostData
(int sceneId)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/account/QRCodeCreator.java:115
↓ 2 callers
Method
createPostBody
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/material/Material.java:39
↓ 2 callers
Method
createTemporaryPostData
(int expireSeconds, int sceneId)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/account/QRCodeCreator.java:87
↓ 2 callers
Method
decrypt
对密文进行解密. @param text 需要解密的密文 @return 解密得到的明文 @throws AesException aes解密失败
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/WXBizMsgCrypt.java:132
↓ 2 callers
Method
doDownload
(CloseableHttpResponse response, String downloadDir, String fileName, String... ignoreContentTypes)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/PoolingHttpUtil.java:214
↓ 2 callers
Method
doSendMessage
@param sendUrl URL of sending message, not include "?access_token=xxx" @param message message to send @return null if fail to send message because of
wechatty-common/src/main/java/space/chensheng/wechatty/common/message/MessageSender.java:56
↓ 2 callers
Method
existsCDATA
(Class<?> clzz, String fieldAlias)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/XmlUtil.java:208
↓ 2 callers
Method
fillFields
(Properties props, Class<?> clzz)
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:94
↓ 2 callers
Method
generateQuery
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/material/Material.java:62
↓ 2 callers
Method
getAccessToken
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/AccessTokenFetcher.java:82
↓ 2 callers
Method
getAccessToken
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/AccessTokenResponse.java:14
↓ 2 callers
Method
getAppId
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/jssdk/JsapiAuth.java:16
↓ 2 callers
Method
getAppSecret
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/util/MpWechatContext.java:64
↓ 2 callers
Method
getNotifyUrl
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/RefundRequest.java:156
↓ 2 callers
Method
getPayKey
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/util/MpWechatContext.java:72
↓ 2 callers
Method
getPoolingHttpProxyHostname
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:244
↓ 2 callers
Method
getPoolingHttpProxyPassword
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:260
↓ 2 callers
Method
getPoolingHttpProxyPort
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:236
↓ 2 callers
Method
getPoolingHttpProxyUsername
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:252
↓ 2 callers
Method
getPoolingHttpSocketTimeoutMillis
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:188
↓ 2 callers
Method
getSign
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/PayRequest.java:15
↓ 2 callers
Method
getSpbillCreateIp
()
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/TransfersRequest.java:117
↓ 2 callers
Method
getUploadUrl
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/material/Material.java:58
↓ 2 callers
Method
isOk
()
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/BaseResponse.java:28
↓ 2 callers
Method
list
(ListPostData postData, Class<T> retClzz)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/material/MaterialQuery.java:59
↓ 2 callers
Method
loadContext
(String confPath)
wechatty-common/src/main/java/space/chensheng/wechatty/common/conf/WechatContext.java:70
↓ 2 callers
Method
md5With32
(String input)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/MD5Utils.java:12
↓ 2 callers
Method
parseToInt
(String str, int defaultVal)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/StringUtil.java:27
↓ 2 callers
Method
readInputStream
(InputStream is)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/StringUtil.java:89
↓ 2 callers
Method
setErrcode
(Integer errcode)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/BaseResponse.java:24
↓ 2 callers
Method
setFile
(File file)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/DownloadResponse.java:17
↓ 2 callers
Method
setNotifyUrl
Required @param notifyUrl
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/RefundRequest.java:164
↓ 2 callers
Method
setSpbillCreateIp
(String spbillCreateIp)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/TransfersRequest.java:121
↓ 2 callers
Method
setWxAppId
(String wxAppId)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/pay/RedPackRequest.java:97
↓ 2 callers
Method
update
(String jsonString, Object object)
wechatty-common/src/main/java/space/chensheng/wechatty/common/util/JsonMapper.java:89
↓ 1 callers
Method
DecryptMsg
检验消息的真实性,并且获取解密后的明文. <ol> <li>利用收到的密文生成安全签名,进行签名验证</li> <li>若验证通过,则提取xml中的加密消息</li> <li>对消息进行解密</li> </ol> @param msgSignature 签名串,对应URL参数的msg_sig
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/WXBizMsgCrypt.java:228
↓ 1 callers
Method
EncryptMsg
将公众平台回复用户的消息加密打包. <ol> <li>对要发送的消息进行AES-CBC加密</li> <li>生成安全签名</li> <li>将消息密文和安全签名打包成xml格式</li> </ol> @param replyMsg 公众平台待回复用户的消息,xml格式 @param tim
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/WXBizMsgCrypt.java:192
↓ 1 callers
Method
VerifyURL
验证URL @param msgSignature 签名串,对应URL参数的msg_signature @param timestamp 时间戳,对应URL参数的timestamp @param nonce 随机串,对应URL参数的nonce @param echoStr 随机串,对应URL参数的e
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/WXBizMsgCrypt.java:256
↓ 1 callers
Method
acceptableClass
@return type of listening message
wechatty-common/src/main/java/space/chensheng/wechatty/common/message/MessageListener.java:25
↓ 1 callers
Method
addPostBody
(Map<String, Object> postBody)
wechatty-mp/src/main/java/space/chensheng/wechatty/mp/material/upload/PermanentMedia.java:52
↓ 1 callers
Method
addQueryParam
(final Map<String, String> queryParams)
wechatty-common/src/main/java/space/chensheng/wechatty/common/material/Material.java:37
↓ 1 callers
Method
bytesToHexString
(byte[] src)
wechatty-common/src/main/java/space/chensheng/wechatty/common/http/FileTypeViewer.java:64
↓ 1 callers
Method
chr
将数字转化成ASCII码对应的字符,用于对明文进行补码 @param a 需要转化的数字 @return 转化得到的字符
wechatty-common/src/main/java/space/chensheng/wechatty/common/security/PKCS7Encoder.java:61
next →
1–100 of 1,310, ranked by callers