public class WxMaMessage extends Object implements Serializable
| 构造器和说明 |
|---|
WxMaMessage() |
| 限定符和类型 | 方法和说明 |
|---|---|
static WxMaMessage |
fromEncryptedJson(InputStream inputStream,
WxMaConfig config) |
static WxMaMessage |
fromEncryptedJson(String encryptedJson,
WxMaConfig config) |
static WxMaMessage |
fromEncryptedXml(InputStream is,
WxMaConfig wxMaConfig,
String timestamp,
String nonce,
String msgSignature) |
static WxMaMessage |
fromEncryptedXml(String encryptedXml,
WxMaConfig wxMaConfig,
String timestamp,
String nonce,
String msgSignature)
从加密字符串转换.
|
static WxMaMessage |
fromJson(String json) |
static WxMaMessage |
fromXml(InputStream is) |
static WxMaMessage |
fromXml(String xml) |
String |
toJson() |
String |
toString() |
public static WxMaMessage fromXml(String xml)
public static WxMaMessage fromXml(InputStream is)
public static WxMaMessage fromEncryptedXml(String encryptedXml, WxMaConfig wxMaConfig, String timestamp, String nonce, String msgSignature)
encryptedXml - 密文wxMaConfig - 配置存储器对象timestamp - 时间戳nonce - 随机串msgSignature - 签名串public static WxMaMessage fromEncryptedXml(InputStream is, WxMaConfig wxMaConfig, String timestamp, String nonce, String msgSignature)
public static WxMaMessage fromJson(String json)
public static WxMaMessage fromEncryptedJson(String encryptedJson, WxMaConfig config)
public static WxMaMessage fromEncryptedJson(InputStream inputStream, WxMaConfig config)
public String toJson()
Copyright © 2021. All rights reserved.