public interface AlipayParser<T extends AlipayResponse>
| 限定符和类型 | 方法和说明 |
|---|---|
String |
decryptSourceData(AlipayRequest<?> request,
String body,
String format,
Decryptor decryptor,
String encryptType,
String charset)
获取实际串:如果是加密内容则返回内容已经是解密后的实际内容了
|
CertItem |
getCertItem(AlipayRequest<?> request,
String responseBody)
获取响应内的证书序列号和签名数据
|
Class<T> |
getResponseClass()
获取响应类类型。
|
SignItem |
getSignItem(AlipayRequest<?> request,
String responseBody)
获取响应内的签名数据
|
T |
parse(String rsp)
把响应字符串解释成相应的领域对象。
|
T parse(String rsp) throws AlipayApiException
rsp - 响应字符串AlipayApiExceptionClass<T> getResponseClass() throws AlipayApiException
SignItem getSignItem(AlipayRequest<?> request, String responseBody) throws AlipayApiException
responseBody - 响应字符串AlipayApiExceptionCertItem getCertItem(AlipayRequest<?> request, String responseBody) throws AlipayApiException
responseBody - 响应字符串AlipayApiExceptionString decryptSourceData(AlipayRequest<?> request, String body, String format, Decryptor decryptor, String encryptType, String charset) throws AlipayApiException
request - body - format - decryptor - encryptType - charset - AlipayApiExceptionCopyright © 2023. All rights reserved.