public class DefaultAlipayClient extends Object implements AlipayClient
| 构造器和说明 |
|---|
DefaultAlipayClient(String serverUrl,
String appId,
String privateKey) |
DefaultAlipayClient(String serverUrl,
String appId,
String privateKey,
String format) |
DefaultAlipayClient(String serverUrl,
String appId,
String privateKey,
String format,
String charset) |
DefaultAlipayClient(String serverUrl,
String appId,
String privateKey,
String format,
String charset,
String alipayPulicKey) |
DefaultAlipayClient(String serverUrl,
String appId,
String privateKey,
String format,
String charset,
String alipayPulicKey,
String signType) |
DefaultAlipayClient(String serverUrl,
String appId,
String privateKey,
String format,
String charset,
String alipayPulicKey,
String signType,
String encryptKey,
String encryptType) |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends AlipayResponse> |
execute(AlipayRequest<T> request) |
<T extends AlipayResponse> |
execute(AlipayRequest<T> request,
String accessToken) |
<T extends AlipayResponse> |
execute(AlipayRequest<T> request,
String accessToken,
String appAuthToken) |
<T extends AlipayResponse> |
getRequestHolderWithSign(AlipayRequest<?> request,
String accessToken,
String appAuthToken) |
String |
getRequestUrl(RequestParametersHolder requestHolder) |
<T extends AlipayResponse> |
pageExecute(AlipayRequest<T> request) |
<T extends AlipayResponse> |
pageExecute(AlipayRequest<T> request,
String httpMethod) |
<TR extends AlipayResponse,T extends AlipayRequest<TR>> |
parseAppSyncResult(Map<String,String> result,
Class<T> requsetClazz) |
<T extends AlipayResponse> |
sdkExecute(AlipayRequest<T> request) |
public DefaultAlipayClient(String serverUrl, String appId, String privateKey, String format)
public DefaultAlipayClient(String serverUrl, String appId, String privateKey, String format, String charset)
public DefaultAlipayClient(String serverUrl, String appId, String privateKey, String format, String charset, String alipayPulicKey)
public DefaultAlipayClient(String serverUrl, String appId, String privateKey, String format, String charset, String alipayPulicKey, String signType)
public <T extends AlipayResponse> T execute(AlipayRequest<T> request) throws AlipayApiException
execute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T execute(AlipayRequest<T> request, String accessToken) throws AlipayApiException
execute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T execute(AlipayRequest<T> request, String accessToken, String appAuthToken) throws AlipayApiException
execute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T pageExecute(AlipayRequest<T> request) throws AlipayApiException
pageExecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T pageExecute(AlipayRequest<T> request, String httpMethod) throws AlipayApiException
pageExecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T sdkExecute(AlipayRequest<T> request) throws AlipayApiException
sdkExecute 在接口中 AlipayClientAlipayApiExceptionpublic <TR extends AlipayResponse,T extends AlipayRequest<TR>> TR parseAppSyncResult(Map<String,String> result, Class<T> requsetClazz) throws AlipayApiException
parseAppSyncResult 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> RequestParametersHolder getRequestHolderWithSign(AlipayRequest<?> request, String accessToken, String appAuthToken) throws AlipayApiException
public String getRequestUrl(RequestParametersHolder requestHolder) throws AlipayApiException
Copyright © 2018 guerlab. All rights reserved.