public class WxCpXmlMessage extends Object implements Serializable
微信推送过来的消息,也是同步回复给用户的消息,xml格式 相关字段的解释看微信开发者文档: https://work.weixin.qq.com/api/doc#12973 https://work.weixin.qq.com/api/doc#12974
| 限定符和类型 | 类和说明 |
|---|---|
static class |
WxCpXmlMessage.ExtAttr |
static class |
WxCpXmlMessage.ScanCodeInfo |
static class |
WxCpXmlMessage.SendLocationInfo |
static class |
WxCpXmlMessage.SendPicsInfo |
| 构造器和说明 |
|---|
WxCpXmlMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
static WxCpXmlMessage |
fromEncryptedXml(InputStream is,
WxCpConfigStorage wxCpConfigStorage,
String timestamp,
String nonce,
String msgSignature) |
static WxCpXmlMessage |
fromEncryptedXml(String encryptedXml,
WxCpConfigStorage wxCpConfigStorage,
String timestamp,
String nonce,
String msgSignature)
从加密字符串转换.
|
protected static WxCpXmlMessage |
fromXml(InputStream is) |
protected static WxCpXmlMessage |
fromXml(String xml) |
String |
toString() |
protected static WxCpXmlMessage fromXml(String xml)
protected static WxCpXmlMessage fromXml(InputStream is)
public static WxCpXmlMessage fromEncryptedXml(String encryptedXml, WxCpConfigStorage wxCpConfigStorage, String timestamp, String nonce, String msgSignature)
public static WxCpXmlMessage fromEncryptedXml(InputStream is, WxCpConfigStorage wxCpConfigStorage, String timestamp, String nonce, String msgSignature)
Copyright © 2020. All rights reserved.