public abstract class BaseResult extends Object implements IRateLimiting
| 限定符和类型 | 字段和说明 |
|---|---|
protected static com.google.gson.Gson |
_gson |
static int |
ERROR_CODE_NONE |
static int |
ERROR_CODE_OK |
static String |
ERROR_MESSAGE_NONE |
protected static int |
RESPONSE_OK |
| 构造器和说明 |
|---|
BaseResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getOriginalContent() |
int |
getRateLimitQuota() |
int |
getRateLimitRemaining() |
int |
getRateLimitReset() |
boolean |
isResultOK() |
void |
setResponseWrapper(ResponseWrapper responseWrapper) |
String |
toString() |
public static final int ERROR_CODE_NONE
public static final int ERROR_CODE_OK
protected static final int RESPONSE_OK
protected static com.google.gson.Gson _gson
public void setResponseWrapper(ResponseWrapper responseWrapper)
public String getOriginalContent()
public boolean isResultOK()
public int getRateLimitQuota()
getRateLimitQuota 在接口中 IRateLimitingpublic int getRateLimitRemaining()
getRateLimitRemaining 在接口中 IRateLimitingpublic int getRateLimitReset()
getRateLimitReset 在接口中 IRateLimitingCopyright © 2014. All Rights Reserved.