public final enum

NetworkStatus

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.tencent.trackx.api.model.NetworkStatus

Summary

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

Enum Values

public static final NetworkStatus BackendConnectFailed

SDK调用后端连接失败

public static final NetworkStatus BackendContentParseFailed

SDK调用后端返回内容解析失败

public static final NetworkStatus BackendResultStatusIsError

后端返回值无法处理,或者后端表示自己出错了

public static final NetworkStatus BackendTimeout

SDK调用后端超时

public static final NetworkStatus BackendUnknownError

SDK调用后端发生未知错误

public static final NetworkStatus BodyTooLarge

Body大小超过限制

public static final NetworkStatus ClientCanceled

客户端主动断开

public static final NetworkStatus IPNotInWhiteList

来源IP未被授权

public static final NetworkStatus InvalidReq

请求非法,无法解析

public static final NetworkStatus KeyInvalidFormat

Key格式错误

public static final NetworkStatus KeyNotExist

Key在数据库中不存在

public static final NetworkStatus NetworkCANCEL

网络请求取消

public static final NetworkStatus OK

请求成功

public static final NetworkStatus ParamError

参数错误

public static final NetworkStatus ParseQueryOrBodyFailed

解析Query或Body失败

public static final NetworkStatus ReadReqFailed

读取请求失败

public static final NetworkStatus ServerInternalError

服务内部错误

public static final NetworkStatus SigExpired

签名失效

public static final NetworkStatus SigValidateFailed

签名验证失败

public static final NetworkStatus UnknownAPI

请求路径错误

public static final NetworkStatus UnsupportedContentType

使用了不支持的Content-Type

public static final NetworkStatus UnsupportedMethod

使用了不支持的HTTP Method

Public Methods

public long getCode ()

public String getMessage ()

public static NetworkStatus valueOf (String name)

public static final NetworkStatus[] values ()