|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||
java.lang.Objectjava.lang.Enum<ResultType>
com.github.sd4324530.fastweixin.api.enums.ResultType
public enum ResultType
微信接口全局返回码枚举
| 方法摘要 | |
|---|---|
static ResultType |
get(String code)
通过code得到返回结果对象 |
Integer |
getCode()
获得结果码 |
String |
getDescription()
获得结果描述 |
String |
toString()
|
static ResultType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。 |
static ResultType[] |
values()
按照声明该枚举类型的常量的顺序,返回 包含这些常量的数组。 |
| 从类 java.lang.Enum 继承的方法 |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| 从类 java.lang.Object 继承的方法 |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| 枚举常量详细信息 |
|---|
public static final ResultType SYSTEM_BUSY
public static final ResultType SUCCESS
public static final ResultType APP_SECRET_ERROR
public static final ResultType ILLEGAL_TOKEN_TYPE
public static final ResultType ILLEGAL_OPEN_ID
public static final ResultType ILLEGAL_MEDIA_TYPE
public static final ResultType ILLEGAL_FILE_TYPE
public static final ResultType ILLEGAL_FILE_SIZE
public static final ResultType ILLEGAL_MEDIA_ID
public static final ResultType ILLEGAL_MESSAGE_TYPE
public static final ResultType ILLEGAL_PICTURE_SIZE
public static final ResultType ILLEGAL_VOICE_SIZE
public static final ResultType ILLEGAL_VIDEO_SIZE
public static final ResultType ILLEGAL_THUMBNAIL_SIZE
public static final ResultType ILLEGAL_APP_ID
public static final ResultType ILLEGAL_ACCESS_TOKEN
public static final ResultType ILLEGAL_MENU_TYPE
public static final ResultType ILLEGAL_MENU_NUMBER
public static final ResultType ILLEGAL_BUTTON_NAME_LENTH
public static final ResultType ILLEGAL_BUTTON_KEY_LENTH
public static final ResultType ILLEGAL_BUTTON_URL_LENTH
public static final ResultType ILLEGAL_MENU_VERSION
public static final ResultType ILLEGAL_SUB_MENU_LEVEL
public static final ResultType ILLEGAL_SUB_MENU_NUMBER
public static final ResultType ILLEGAL_SUB_MENU_TYPE
public static final ResultType ILLEGAL_SUB_MENU_LENTH
public static final ResultType ILLEGAL_SUB_MENU_KEY_LENTH
public static final ResultType ILLEGAL_SUB_MENU_URL_LENTH
public static final ResultType ILLEGAL_MENU_USER
public static final ResultType ILLEGAL_OAUTH_CODE
public static final ResultType ILLEGAL_REFRESH_TOKEN
public static final ResultType ILLEGAL_OPENID_LIST
public static final ResultType ILLEGAL_OPENID_LIST_LENTH
public static final ResultType ILLEGAL_REQUEST_STRING
public static final ResultType ILLEGAL_PARAM
public static final ResultType ILLEGAL_REQUEST_TYPE
public static final ResultType ILLEGAL_URL_LENTH
public static final ResultType ILLEGAL_GROUP_ID
public static final ResultType ILLEGAL_GROUP_NAME
public static final ResultType ILLEGAL_MEDIA_ID_SIZE
public static final ResultType BUTTON_TYPE_ERROR
public static final ResultType ILLEGAL_MEDIA_ID_TYPE
public static final ResultType NO_ACCESS_TOKEN
public static final ResultType NO_APPID
public static final ResultType NO_REFRESH_TOKEN
public static final ResultType NO_SECRET
public static final ResultType NO_MEDIA_DATA
public static final ResultType NO_MEDIA_ID
public static final ResultType NO_SUB_MENU_DATA
public static final ResultType NO_OAUTH_CODE
public static final ResultType NO_OPEN_ID
public static final ResultType ACCESS_TOKEN_TIMEOUT
public static final ResultType REFRESH_TOKEN_TIMEOUT
public static final ResultType OAUTH_CODE_TIMEOUT
public static final ResultType NEED_REQUEST_GET
public static final ResultType NEED_REQUEST_POST
public static final ResultType NEED_REQUEST_HTTPS
public static final ResultType NEED_USER_FOLLOW
public static final ResultType NEED_FRIEND
public static final ResultType MEDIA_FILE_IS_NULL
public static final ResultType POST_DATA_IS_NULL
public static final ResultType NEWS_MESSAGE_IS_NULL
public static final ResultType TEXT_MESSAGE_IS_NULL
public static final ResultType MEDIA_DATA_OVER_LIMIT
public static final ResultType MESSAGE_CONTENT_OVER_LIMIT
public static final ResultType TITLE_OVER_LIMIT
public static final ResultType DESCRIPTION_OVER_LIMIT
public static final ResultType LINK_OVER_LIMIT
public static final ResultType PICTURE_LINK_OVER_LIMIT
public static final ResultType VOICE_TIME_OVER_LIMIT
public static final ResultType NEWS_MESSAGE_OVER_LIMIT
public static final ResultType INTERFACE_OVER_LIMIT
public static final ResultType MENU_OVER_LIMIT
public static final ResultType REVIEW_TIME_OVER_LIMIT
public static final ResultType NO_MODIFY_SYSTEM_GROUP
public static final ResultType GROUP_NAME_TOO_LONG
public static final ResultType GROUP_COUNT_TOO_MANY
public static final ResultType CUSTOMER_SERVICE_DOWN_TOO_MANY
public static final ResultType TAG_NAME_TOO_MANY
public static final ResultType CAN_NOT_DELETE_TAG
public static final ResultType CAN_NOT_MODIFY_TAG
public static final ResultType FANS_TAGS_TOO_MANY
public static final ResultType ILLEGAL_TAG_NAME
public static final ResultType TAG_NAME_TOO_LONG
public static final ResultType ILLEGAL_TAG_ID
public static final ResultType NOT_EXIST_MEDIA_DATA
public static final ResultType NOT_EXIST_MENU_VERSION
public static final ResultType NOT_EXIST_MENU_DATA
public static final ResultType NOT_EXIST_USER
public static final ResultType JSON_OR_XML_ERROR
public static final ResultType API_NOT_ALLOW_CALL
public static final ResultType OPENID_APPID_NOT_MATCH
public static final ResultType USER_NOT_ALLOW_API
public static final ResultType USER_USE_LIMIT
public static final ResultType INVALID_PARAM
public static final ResultType INVALID_ACCOUNT
public static final ResultType ACCOUNT_EXISTS
public static final ResultType ACCOUNT_TOO_LONG
public static final ResultType ILLEGAL_ACCOUNT_CHARACTER
public static final ResultType ACCOUNT_TOO_MANY
public static final ResultType INVALID_FILE_TYPE
public static final ResultType SYSTEM_ERROR
public static final ResultType DATE_FORMAT_ERROR
public static final ResultType DATE_RANGE_ERROR
public static final ResultType ILLEGAL_POST_PARAM
public static final ResultType REMOTE_SERVER_ERROR
public static final ResultType ILLEGAL_TICKET
public static final ResultType OTHER_ERROR
| 方法详细信息 |
|---|
public static ResultType[] values()
for (ResultType c : ResultType.values()) System.out.println(c);
public static ResultType valueOf(String name)
name - 要返回的枚举常量的名称。
如果该枚举类型没有带有指定名称的常量, - 则抛出 IllegalArgumentExceptionpublic static ResultType get(String code)
code - 结果码
public Integer getCode()
public String getDescription()
public String toString()
Enum<ResultType> 中的 toString
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 枚举常量 | 字段 | 方法 | 详细信息: 枚举常量 | 字段 | 方法 | |||||||||