public interface Converter
| Modifier and Type | Method and Description |
|---|---|
String |
decryptSourceData(AlipayRequest<?> request,
String body,
String format,
Decryptor decryptor,
String encryptType,
String charset)
获取解密后的响应内的真实内容
|
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 - 领域类型AlipayApiException - the alipay api exceptionSignItem getSignItem(AlipayRequest<?> request, String responseBody) throws AlipayApiException
request - the requestresponseBody - the response bodyAlipayApiException - the alipay api exceptionString decryptSourceData(AlipayRequest<?> request, String body, String format, Decryptor decryptor, String encryptType, String charset) throws AlipayApiException
request - the requestbody - the bodyformat - the formatdecryptor - the decryptorencryptType - the encrypt typecharset - the charsetAlipayApiException - the alipay api exceptionCopyright © 2018. All rights reserved.