Uses of Class
com.foxinmy.weixin4j.util.AesToken
-
Packages that use AesToken Package Description com.foxinmy.weixin4j.listener com.foxinmy.weixin4j.request com.foxinmy.weixin4j.socket com.foxinmy.weixin4j.startup -
-
Uses of AesToken in com.foxinmy.weixin4j.listener
Methods in com.foxinmy.weixin4j.listener that return AesToken Modifier and Type Method Description protected AesToken
AbstractWeixinServerStartupListener. getToken()
明文模式:String aesToken = ""; 密文模式:AesToken aesToken = new AesToken("公众号appid", "公众号token","公众号加密/解密消息的密钥"); -
Uses of AesToken in com.foxinmy.weixin4j.request
Methods in com.foxinmy.weixin4j.request that return AesToken Modifier and Type Method Description AesToken
WeixinRequest. getAesToken()
Constructors in com.foxinmy.weixin4j.request with parameters of type AesToken Constructor Description WeixinRequest(io.netty.handler.codec.http.HttpHeaders headers, io.netty.handler.codec.http.HttpMethod method, String uri, EncryptType encryptType, String echoStr, String timeStamp, String nonce, String signature, String msgSignature, String originalContent, String encryptContent, AesToken aesToken)
-
Uses of AesToken in com.foxinmy.weixin4j.socket
Methods in com.foxinmy.weixin4j.socket that return AesToken Modifier and Type Method Description AesToken
WeixinMessageTransfer. getAesToken()
Methods in com.foxinmy.weixin4j.socket with parameters of type AesToken Modifier and Type Method Description void
WeixinMessageDecoder. addAesToken(AesToken asetoken)
void
WeixinServerInitializer. addAesToken(AesToken asetoken)
Constructors in com.foxinmy.weixin4j.socket with parameters of type AesToken Constructor Description WeixinMessageTransfer(AesToken aesToken, EncryptType encryptType, String toUserName, String fromUserName, AccountType accountType, String msgType, String eventType, Set<String> nodeNames)
Constructor parameters in com.foxinmy.weixin4j.socket with type arguments of type AesToken Constructor Description WeixinMessageDecoder(Map<String,AesToken> aesTokenMap)
WeixinServerInitializer(Map<String,AesToken> aesTokenMap, WeixinMessageDispatcher messageDispatcher)
-
Uses of AesToken in com.foxinmy.weixin4j.startup
Methods in com.foxinmy.weixin4j.startup with parameters of type AesToken Modifier and Type Method Description boolean
WeixinServerBootstrap. addAesToken(AesToken aesToken)
动态添加aesTokenConstructors in com.foxinmy.weixin4j.startup with parameters of type AesToken Constructor Description WeixinServerBootstrap(WeixinMessageMatcher messageMatcher, AesToken... aesTokens)
多个公众号的支持 值得注意的是: 1).企业号服务时需要在服务器URL后面加多一个`encrypt_type=aes`的参数 2).非明文模式下需要在服务器URL后面加多一个`weixin_id=对应的appid/corpid`的参数WeixinServerBootstrap(AesToken... aesToken)
多个公众号的支持 值得注意的是: 1).企业号服务时需要在服务器URL后面加多一个`encrypt_type=aes`的参数 2).非明文模式下需要在服务器URL后面加多一个`weixin_id=对应的appid/corpid`的参数
-