T
- the type parameterpublic interface AlipayParser<T extends AlipayResponse>
Modifier and Type | Method and Description |
---|---|
String |
decryptSourceData(AlipayRequest<?> request,
String body,
String format,
Decryptor decryptor,
String encryptType,
String charset)
获取实际串:如果是加密内容则返回内容已经是解密后的实际内容了
|
Class<T> |
getResponseClass()
获取响应类类型。
|
SignItem |
getSignItem(AlipayRequest<?> request,
String responseBody)
获取响应内的签名数据
|
T |
parse(String rsp)
把响应字符串解释成相应的领域对象。
|
T parse(String rsp) throws AlipayApiException
rsp
- 响应字符串AlipayApiException
- the alipay api exceptionClass<T> getResponseClass() throws AlipayApiException
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.