public class AlipayMobilePublicMultiMediaClient extends Object implements AlipayClient
| 构造器和说明 |
|---|
AlipayMobilePublicMultiMediaClient(String serverUrl,
String appId,
String privateKey) |
AlipayMobilePublicMultiMediaClient(String serverUrl,
String appId,
String privateKey,
String format) |
AlipayMobilePublicMultiMediaClient(String serverUrl,
String appId,
String privateKey,
String format,
String charset) |
AlipayMobilePublicMultiMediaClient(String serverUrl,
String appId,
String privateKey,
String format,
String charset,
String signType) |
public AlipayMobilePublicMultiMediaClient(String serverUrl, String appId, String privateKey)
public AlipayMobilePublicMultiMediaClient(String serverUrl, String appId, String privateKey, String format)
public AlipayMobilePublicMultiMediaClient(String serverUrl, String appId, String privateKey, String format, String charset)
public <T extends AlipayResponse> T execute(AlipayRequest<T> request) throws AlipayApiException
execute 在接口中 AlipayClientAlipayApiExceptionAlipayClient.execute(com.alipay.api.AlipayRequest)public <T extends AlipayResponse> T execute(AlipayRequest<T> request, String accessToken) throws AlipayApiException
execute 在接口中 AlipayClientAlipayApiExceptionAlipayClient.execute(com.alipay.api.AlipayRequest, String)public <T extends AlipayResponse> T execute(AlipayRequest<T> request, String accessToken, String appAuthToken) throws AlipayApiException
execute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T execute(AlipayRequest<T> request, String accessToken, String appAuthToken, String targetAppId) throws AlipayApiException
execute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T certificateExecute(AlipayRequest<T> request) throws AlipayApiException
AlipayClientcertificateExecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T certificateExecute(AlipayRequest<T> request, String accessToken) throws AlipayApiException
certificateExecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T certificateExecute(AlipayRequest<T> request, String accessToken, String appAuthToken) throws AlipayApiException
certificateExecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T certificateExecute(AlipayRequest<T> request, String accessToken, String appAuthToken, String targetAppId) throws AlipayApiException
certificateExecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T _certificateExecute(AlipayRequest<T> request, String accessToken, String appAuthToken, String targetAppId) throws AlipayApiException
public <T extends AlipayResponse> T doGet(AlipayRequest<T> request, String appAuthToken) throws AlipayApiException
public static AlipayMobilePublicMultiMediaDownloadResponse doGet(String url, RequestParametersHolder requestHolder, String charset, int connectTimeout, int readTimeout, OutputStream output) throws AlipayApiException, IOException
protected static String getResponseAsString(HttpURLConnection conn) throws IOException
IOExceptionpublic static String buildQuery(Map<String,String> params, String charset) throws IOException
IOExceptionpublic <T extends AlipayResponse> T pageExecute(AlipayRequest<T> request) throws AlipayApiException
pageExecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T pageExecute(AlipayRequest<T> request, String method) throws AlipayApiException
pageExecute 在接口中 AlipayClientAlipayApiExceptionpublic <TR extends AlipayResponse,T extends AlipayRequest<TR>> TR parseAppSyncResult(Map<String,String> result, Class<T> requsetClazz) throws AlipayApiException
AlipayClientparseAppSyncResult 在接口中 AlipayClientresult - 移动客户端SDK同步返回的结果map,一般包含resultStatus,result和memo三个keyrequsetClazz - 接口请求request类,如App支付传入 AlipayTradeAppPayRequest.classAlipayApiExceptionpublic BatchAlipayResponse execute(BatchAlipayRequest request) throws AlipayApiException
AlipayClientexecute 在接口中 AlipayClientAlipayApiExceptionpublic <T extends AlipayResponse> T sdkExecute(AlipayRequest<T> request) throws AlipayApiException
AlipayClientsdkExecute 在接口中 AlipayClientAlipayApiExceptionCopyright © 2020. All rights reserved.