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 |
getAppid() |
String |
getAppId() |
String |
getAppID() |
void |
setAppid(String appid) |
void |
setAppId(String appId) |
void |
setAppID(String appID) |
String |
toJson() |
String |
toString() |
public static WxMaMessage fromXml(String xml)
@Deprecated 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()
public String getAppid()
public void setAppid(String appid)
public String getAppID()
public void setAppID(String appID)
public String getAppId()
public void setAppId(String appId)
Copyright © 2024. All rights reserved.