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