public class AlipayEcoFilePathApi extends Object
| 构造器和说明 |
|---|
AlipayEcoFilePathApi() |
AlipayEcoFilePathApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
AlipayEcoFilePathQueryResponseModel |
query(String targetAppId,
String contentMd5,
String contentType,
String fileName,
Integer fileSize)
获取文件直传地址(E签宝)
获取文件直传地址(E签宝)
|
AlipayEcoFilePathQueryResponseModel |
query(String targetAppId,
String contentMd5,
String contentType,
String fileName,
Integer fileSize,
CustomizedParams customizedParams) |
okhttp3.Call |
queryAsync(String targetAppId,
String contentMd5,
String contentType,
String fileName,
Integer fileSize,
ApiCallback<AlipayEcoFilePathQueryResponseModel> _callback)
获取文件直传地址(E签宝) (asynchronously)
获取文件直传地址(E签宝)
|
okhttp3.Call |
queryAsync(String targetAppId,
String contentMd5,
String contentType,
String fileName,
Integer fileSize,
ApiCallback<AlipayEcoFilePathQueryResponseModel> _callback,
CustomizedParams customizedParams) |
okhttp3.Call |
queryCall(String targetAppId,
String contentMd5,
String contentType,
String fileName,
Integer fileSize,
ApiCallback _callback,
CustomizedParams customizedParams)
Build call for query
|
ApiResponse<AlipayEcoFilePathQueryResponseModel> |
queryWithHttpInfo(String targetAppId,
String contentMd5,
String contentType,
String fileName,
Integer fileSize,
CustomizedParams customizedParams)
获取文件直传地址(E签宝)
获取文件直传地址(E签宝)
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public AlipayEcoFilePathApi()
public AlipayEcoFilePathApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call queryCall(String targetAppId, String contentMd5, String contentType, String fileName, Integer fileSize, ApiCallback _callback, CustomizedParams customizedParams) throws ApiException
targetAppId - 目标isv应用ID (optional)contentMd5 - 先计算文件md5值,在对该md5值进行base64编码 (optional)contentType - 目标文件的MIME类型 (optional)fileName - 文件名称。 注意:必须带上文件扩展名,不然会导致后续发起流程校验不通过。示例:合同.pdf。 (optional)fileSize - 文件大小,单位byte。最大允许上传30Mb (optional)_callback - Callback for upload/download progresscustomizedParams - ApiException - If fail to serialize the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayEcoFilePathQueryResponseModel query(String targetAppId, String contentMd5, String contentType, String fileName, Integer fileSize) throws ApiException
targetAppId - 目标isv应用ID (optional)contentMd5 - 先计算文件md5值,在对该md5值进行base64编码 (optional)contentType - 目标文件的MIME类型 (optional)fileName - 文件名称。 注意:必须带上文件扩展名,不然会导致后续发起流程校验不通过。示例:合同.pdf。 (optional)fileSize - 文件大小,单位byte。最大允许上传30Mb (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public AlipayEcoFilePathQueryResponseModel query(String targetAppId, String contentMd5, String contentType, String fileName, Integer fileSize, CustomizedParams customizedParams) throws ApiException
ApiExceptionpublic ApiResponse<AlipayEcoFilePathQueryResponseModel> queryWithHttpInfo(String targetAppId, String contentMd5, String contentType, String fileName, Integer fileSize, CustomizedParams customizedParams) throws ApiException
targetAppId - 目标isv应用ID (optional)contentMd5 - 先计算文件md5值,在对该md5值进行base64编码 (optional)contentType - 目标文件的MIME类型 (optional)fileName - 文件名称。 注意:必须带上文件扩展名,不然会导致后续发起流程校验不通过。示例:合同.pdf。 (optional)fileSize - 文件大小,单位byte。最大允许上传30Mb (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String targetAppId, String contentMd5, String contentType, String fileName, Integer fileSize, ApiCallback<AlipayEcoFilePathQueryResponseModel> _callback) throws ApiException
targetAppId - 目标isv应用ID (optional)contentMd5 - 先计算文件md5值,在对该md5值进行base64编码 (optional)contentType - 目标文件的MIME类型 (optional)fileName - 文件名称。 注意:必须带上文件扩展名,不然会导致后续发起流程校验不通过。示例:合同.pdf。 (optional)fileSize - 文件大小,单位byte。最大允许上传30Mb (optional)_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object| Status Code | Description | Response Headers |
| 200 | common response | - |
| 0 | 请求失败 | - |
public okhttp3.Call queryAsync(String targetAppId, String contentMd5, String contentType, String fileName, Integer fileSize, ApiCallback<AlipayEcoFilePathQueryResponseModel> _callback, CustomizedParams customizedParams) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.