public class VipStateHttp
extends com.app.user.account.SessionManager.BaseSessionHttpMsg2
构造器和说明 |
---|
VipStateHttp(com.app.common.common.AsyncActionCallback cb)
新接口 获取用户vip状态信息 /user/vipstate
请求参数:通用参数
返回字段:vipState(int):0未购买,1退订未过期,2退订已过期,3订阅
price (String)价格
deadline(String)截止日期
|
限定符和类型 | 方法和说明 |
---|---|
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 |
requestVipState(com.app.common.common.AsyncActionCallback cb,
java.lang.String httpMsgTag,
boolean report) |
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 VipStateHttp(com.app.common.common.AsyncActionCallback cb)
public static void requestVipState(com.app.common.common.AsyncActionCallback cb, java.lang.String httpMsgTag, boolean report)
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