public enum ResponseCode extends java.lang.Enum<ResponseCode>
| 限定符和类型 | 字段和说明 |
|---|---|
int |
code |
| 限定符和类型 | 方法和说明 |
|---|---|
static ResponseCode |
fromInt(int responseCode) |
static ResponseCode |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ResponseCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ResponseCode RC_RESERVED
public static final ResponseCode RC_SUCCESS
public static final ResponseCode RC_ERRORGeneral
public static final ResponseCode RC_SERVER_BUSY
public static final ResponseCode RC_PROTOCOL_ERROR
public static final ResponseCode RC_OPERATION_DENIED
public static final ResponseCode RC_RECUR_LIMIT_EXCEEDED
public static final ResponseCode RC_SERVER_BACKUP
public static final ResponseCode RC_ID_NOT_FOUND
public static final ResponseCode RC_ID_ALREADY_EXIST
public static final ResponseCode RC_INVALID_ID
public static final ResponseCode RC_ELEMENT_NOT_FOUND
public static final ResponseCode RC_ELEMENT
public static final ResponseCode RC_ELEMENT_INVALID
public static final ResponseCode RC_EXPIRED_SITE_INFO
public static final ResponseCode RC_SERVER_NOT_RESP
public static final ResponseCode RC_SERVICE_REFERRAL
public static final ResponseCode RC_PREFIX_REFERRAL
public static final ResponseCode RC_INVALID_ADMIN
public static final ResponseCode RC_ACCESS_DENIED
public static final ResponseCode RC_AUTHEN_NEEDED
public static final ResponseCode RC_AUTHEN_FAILED
public static final ResponseCode RC_INVALID_CREDENTIAL
public static final ResponseCode RC_AUTHEN_TIMEOUT
public static final ResponseCode RC_UNABLE_TO_AUTHEN
public static final ResponseCode RC_SESSION_TIMEOUT
public static final ResponseCode RC_SESSION_FAILED
public static final ResponseCode RC_SESSION_KEY_INVALID
public static final ResponseCode RC_SESSION_MSG_REJECTED
public static final ResponseCode RC_UNKNOWN
public static ResponseCode[] values()
for (ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode valueOf(java.lang.String name)
name - 要返回的枚举常量的名称。java.lang.IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException - 如果参数为空值public static ResponseCode fromInt(int responseCode)