java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.tencent.trackx.api.model.NetworkStatus |
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
NetworkStatus | BackendConnectFailed | SDK调用后端连接失败 | |||||||||
NetworkStatus | BackendContentParseFailed | SDK调用后端返回内容解析失败 | |||||||||
NetworkStatus | BackendResultStatusIsError | 后端返回值无法处理,或者后端表示自己出错了 | |||||||||
NetworkStatus | BackendTimeout | SDK调用后端超时 | |||||||||
NetworkStatus | BackendUnknownError | SDK调用后端发生未知错误 | |||||||||
NetworkStatus | BodyTooLarge | Body大小超过限制 | |||||||||
NetworkStatus | ClientCanceled | 客户端主动断开 | |||||||||
NetworkStatus | IPNotInWhiteList | 来源IP未被授权 | |||||||||
NetworkStatus | InvalidReq | 请求非法,无法解析 | |||||||||
NetworkStatus | KeyInvalidFormat | Key格式错误 | |||||||||
NetworkStatus | KeyNotExist | Key在数据库中不存在 | |||||||||
NetworkStatus | NetworkCANCEL | 网络请求取消 | |||||||||
NetworkStatus | OK | 请求成功 | |||||||||
NetworkStatus | ParamError | 参数错误 | |||||||||
NetworkStatus | ParseQueryOrBodyFailed | 解析Query或Body失败 | |||||||||
NetworkStatus | ReadReqFailed | 读取请求失败 | |||||||||
NetworkStatus | ServerInternalError | 服务内部错误 | |||||||||
NetworkStatus | SigExpired | 签名失效 | |||||||||
NetworkStatus | SigValidateFailed | 签名验证失败 | |||||||||
NetworkStatus | UnknownAPI | 请求路径错误 | |||||||||
NetworkStatus | UnsupportedContentType | 使用了不支持的Content-Type | |||||||||
NetworkStatus | UnsupportedMethod | 使用了不支持的HTTP Method |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
long | getCode() | ||||||||||
String | getMessage() | ||||||||||
static NetworkStatus | valueOf(String name) | ||||||||||
final static NetworkStatus[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|