public interface Converter
| 限定符和类型 | 方法和说明 |
|---|---|
String |
decryptSourceData(AlipayRequest<?> request,
String body,
String format,
Decryptor decryptor,
String encryptType,
String charset)
获取解密后的响应内的真实内容
|
CertItem |
getCertItem(AlipayRequest<?> request,
String responseBody)
获取响应内的证书和签名数据
|
SignItem |
getSignItem(AlipayRequest<?> request,
String responseBody)
获取响应内的签名数据
|
<T extends AlipayResponse> |
toResponse(String rsp,
Class<T> clazz)
把字符串转换为响应对象。
|
<T extends AlipayResponse> T toResponse(String rsp, Class<T> clazz) throws AlipayApiException
T - 领域泛型rsp - 响应字符串clazz - 领域类型AlipayApiExceptionSignItem getSignItem(AlipayRequest<?> request, String responseBody) throws AlipayApiException
request - responseBody - AlipayApiExceptionCertItem getCertItem(AlipayRequest<?> request, String responseBody) throws AlipayApiException
request - responseBody - AlipayApiExceptionString decryptSourceData(AlipayRequest<?> request, String body, String format, Decryptor decryptor, String encryptType, String charset) throws AlipayApiException
request - body - format - decryptor - encryptType - charset - AlipayApiExceptionCopyright © 2020. All rights reserved.