public static final class CommentMessage.CommentListMsg
extends com.app.user.account.SessionManager.BaseSessionHttpMsg2
构造器和说明 |
---|
CommentListMsg(java.lang.String userId,
java.lang.String feedId,
java.lang.String lastCommentId,
com.app.common.common.AsyncActionCallback callback) |
CommentListMsg(java.lang.String userId,
java.lang.String feedId,
java.lang.String lastCommentId,
int limit,
com.app.common.common.AsyncActionCallback callback)
提供一个重载的方法,添加limit参数,用来指定分页请求大小
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBaseUrl()
url串
|
protected java.util.Map<java.lang.String,java.lang.String> |
getGetTextParam()
放到httpGet 参数中的参数对
规范接口请求,请把请求参数放在getPostTextParam中!!
|
protected java.lang.String |
getPostTextParam()
要放到post数据域的参数对
|
protected int |
onRawResultContent(java.lang.String content)
原始返回数据,由调用者解析
|
addSessionHeader, addSignature, beforeRequestStart, build, canSessionWait, checkRiskStatus, fillGetParam, getBatchRetry, getBatchType, getCallBack, getGetTextParamPub, getPostSessionData, getPostTextParamPub, getResultObj, getSessionTag, isBatch, isCanBatch, isCanWait, isReportAvailableStat, log, onCancel, onError, onMsgAddToQueue, 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 CommentListMsg(java.lang.String userId, java.lang.String feedId, java.lang.String lastCommentId, com.app.common.common.AsyncActionCallback callback)
public CommentListMsg(java.lang.String userId, java.lang.String feedId, java.lang.String lastCommentId, int limit, com.app.common.common.AsyncActionCallback callback)
userId
- uidfeedId
- feed_idlastCommentId
- 返回的最后一个comment_idlimit
- 分页请求大小callback
- public java.lang.String getBaseUrl()
com.app.user.account.SessionManager.BaseSessionHttpMsg2
getBaseUrl
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2
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
protected int onRawResultContent(java.lang.String content)
com.app.user.account.SessionManager.BaseSessionHttpMsg2
onRawResultContent
在类中 com.app.user.account.SessionManager.BaseSessionHttpMsg2