public class OapiFileUploadChunkRequest extends BaseTaobaoRequest<OapiFileUploadChunkResponse> implements TaobaoUploadRequest<OapiFileUploadChunkResponse>
headerMap, order, session, targetAppKey, timestamp, topMixParams, udfParams| 构造器和说明 |
|---|
OapiFileUploadChunkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
check()
客户端参数检查,减少服务端无效调用。
|
String |
getAgentId() |
String |
getApiMethodName()
获取TOP的API名称。
|
Long |
getChunkSequence() |
FileItem |
getFile() |
Map<String,FileItem> |
getFileParams()
获取所有的Key-Value形式的文件请求参数集合。
|
Class<OapiFileUploadChunkResponse> |
getResponseClass()
获取具体响应实现类的定义。
|
Map<String,String> |
getTextParams()
获取所有的Key-Value形式的文本请求参数集合。
|
String |
getTopApiCallType()
获取API调用方式
|
String |
getTopHttpMethod()
获取Http method,例如GET,POST
|
String |
getTopResponseType()
API对应的响应格式,包含top(top标准),qimen(奇门1.0标准),qimen2(奇门2.0标准)
|
String |
getUploadId() |
void |
setAgentId(String agentId) |
void |
setChunkSequence(Long chunkSequence) |
void |
setFile(FileItem file) |
void |
setTopResponseType(String topResponseType) |
void |
setUploadId(String uploadId) |
getBatchApiOrder, getBatchApiSession, getHeaderMap, getTargetAppKey, getTimestamp, getTopApiFormat, getTopApiVersion, getTopContentType, getTopMixParams, putHeaderParam, putOtherTextParam, setBatchApiOrder, setBatchApiSession, setHeaderMap, setTargetAppKey, setTimestamp, setTopApiCallType, setTopApiFormat, setTopApiVersion, setTopContentType, setTopHttpMethod, setTopMixParamsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBatchApiOrder, getBatchApiSession, getHeaderMap, getTargetAppKey, getTimestamp, getTopApiFormat, getTopApiVersion, getTopContentType, setBatchApiOrder, setBatchApiSession, setTopApiCallType, setTopApiFormat, setTopApiVersion, setTopContentType, setTopHttpMethodpublic void setAgentId(String agentId)
public String getAgentId()
public void setChunkSequence(Long chunkSequence)
public Long getChunkSequence()
public void setFile(FileItem file)
public FileItem getFile()
public void setUploadId(String uploadId)
public String getUploadId()
public String getApiMethodName()
TaobaoRequestgetApiMethodName 在接口中 TaobaoRequest<OapiFileUploadChunkResponse>getApiMethodName 在类中 BaseTaobaoRequest<OapiFileUploadChunkResponse>public String getTopResponseType()
TaobaoRequestpublic void setTopResponseType(String topResponseType)
public String getTopApiCallType()
TaobaoRequestpublic String getTopHttpMethod()
TaobaoRequestgetTopHttpMethod 在接口中 TaobaoRequest<OapiFileUploadChunkResponse>getTopHttpMethod 在类中 BaseTaobaoRequest<OapiFileUploadChunkResponse>public Map<String,String> getTextParams()
TaobaoRequestgetTextParams 在接口中 TaobaoRequest<OapiFileUploadChunkResponse>public Class<OapiFileUploadChunkResponse> getResponseClass()
TaobaoRequestpublic void check()
throws ApiRuleException
TaobaoRequestcheck 在接口中 TaobaoRequest<OapiFileUploadChunkResponse>ApiRuleExceptionpublic Map<String,FileItem> getFileParams()
TaobaoUploadRequestgetFileParams 在接口中 TaobaoUploadRequest<OapiFileUploadChunkResponse>Copyright © 2020. All rights reserved.