public class TempletGrabRewardMessage
extends com.app.user.account.SessionManager.BaseSessionHttpMsg2
限定符和类型 | 类和说明 |
---|---|
static class |
TempletGrabRewardMessage.RewardResult |
限定符和类型 | 字段和说明 |
---|---|
static int |
RESULT_GRABED |
static int |
RESULT_REWARD |
static int |
RESULT_ZERO |
static java.lang.String |
TAG |
static int |
TYPE_DIAMOND |
static int |
TYPE_EXP |
static int |
TYPE_GOLDEN |
static int |
TYPE_STAR |
构造器和说明 |
---|
TempletGrabRewardMessage(java.lang.String idx,
java.lang.String videoid,
int type) |
TempletGrabRewardMessage(java.lang.String idx,
java.lang.String videoid,
int type,
com.app.common.common.AsyncActionCallback callback) |
限定符和类型 | 方法和说明 |
---|---|
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)
原始返回数据,由调用者解析
|
static void |
requestReward(java.lang.String idx,
java.lang.String videoid,
int type,
com.app.common.common.AsyncActionCallback callback)
抢圣诞礼物
|
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 static final java.lang.String TAG
public static final int TYPE_EXP
public static final int TYPE_STAR
public static final int TYPE_GOLDEN
public static final int TYPE_DIAMOND
public static final int RESULT_ZERO
public static final int RESULT_REWARD
public static final int RESULT_GRABED
public TempletGrabRewardMessage(java.lang.String idx, java.lang.String videoid, int type)
public TempletGrabRewardMessage(java.lang.String idx, java.lang.String videoid, int type, com.app.common.common.AsyncActionCallback callback)
public static void requestReward(java.lang.String idx, java.lang.String videoid, int type, com.app.common.common.AsyncActionCallback callback)
idx
- videoid
- type
- 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