public abstract class BaseFilePostMessage
extends com.app.user.account.SessionManager.BaseSessionHttpMsg2
构造器和说明 |
---|
BaseFilePostMessage(boolean report) |
限定符和类型 | 方法和说明 |
---|---|
BaseFilePostMessage |
addFile(java.io.File file) |
BaseFilePostMessage |
addFile(java.lang.String filename,
byte[] data) |
BaseFilePostMessage |
addFile(java.lang.String filename,
java.io.File file) |
BaseFilePostMessage |
addFile(java.lang.String name,
java.lang.String filename,
byte[] data) |
BaseFilePostMessage |
addFile(java.lang.String name,
java.lang.String filename,
java.io.File file) |
boolean |
beforeRequestStart()
在请求发生前调用,替代原有的build方法
PS: 此方法不可主动调用,HttpManager会跟据msg生命周期调用
|
int |
fileCount() |
protected java.util.Map<java.lang.String,java.lang.String> |
getGetTextParam()
放到httpGet 参数中的参数对
规范接口请求,请把请求参数放在getPostTextParam中!!
|
protected java.lang.String |
getPostTextParam()
要放到post数据域的参数对
|
BaseFilePostMessage |
removeFile(java.lang.String name) |
BaseFilePostMessage |
setPostParam(java.lang.String key,
java.lang.String value) |
addSessionHeader, addSignature, build, canSessionWait, checkRiskStatus, fillGetParam, getBaseUrl, getBatchRetry, getBatchType, getCallBack, getGetTextParamPub, getPostSessionData, getPostTextParamPub, getResultObj, getSessionTag, isBatch, isCanBatch, isCanWait, isReportAvailableStat, log, onCancel, onError, onMsgAddToQueue, onRawResultContent, onResultContent, setBatch, setBatchRetry, setBatchType, setCallback, setCanBatch, setCanWait, setNeedCheckStatus, setNetworkLiveData, setReportAvailableStat, setResultObject, setSessionTag, show, userGETMethod
report, setListener, setNeedEncrypt, setReport, setSenorsReport
addHeaders, canRetry, cleanHeader, disabledHeartbeat, enabledHeartbeat, enableMultipartMode, getConnectTimeout, getHeaders, getId, getIpFrom, getListener, getMethod, getPriority, getProtocol, getReadTimeout, getRealRetryExecuteCount, getRedirectUrl, getReqBinaryData, getReqTextData, getRetry, getTag, getType, getUrl, isCanceled, isMultipartMode, isNeedHeartbeat, isWrapToImCon, matchMsgId, matchTag, retry, setCanceled, setCanceled, setCanceled, setConnectTimeout, setId, setIpFrom, setMethod, setPriority, setProtocol, setReadTimeout, setRedirectUrl, setReqBinaryData, setReqTextData, setRetry, setTag, setType, setUrl, setWrapToImCon
public boolean beforeRequestStart()
com.app.user.account.SessionManager.BaseSessionHttpMsg2
beforeRequestStart
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
public BaseFilePostMessage addFile(java.lang.String name, java.lang.String filename, byte[] data)
public BaseFilePostMessage addFile(java.lang.String filename, byte[] data)
public BaseFilePostMessage addFile(java.lang.String name, java.lang.String filename, java.io.File file)
public BaseFilePostMessage addFile(java.lang.String filename, java.io.File file)
public BaseFilePostMessage addFile(java.io.File file)
public BaseFilePostMessage removeFile(java.lang.String name)
public BaseFilePostMessage setPostParam(java.lang.String key, java.lang.String value)
protected java.util.Map<java.lang.String,java.lang.String> getGetTextParam()
com.app.user.account.SessionManager.BaseSessionHttpMsg2
getGetTextParam
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
protected java.lang.String getPostTextParam()
com.app.user.account.SessionManager.BaseSessionHttpMsg2
getPostTextParam
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
public int fileCount()