public enum CaptchaRespCode extends Enum<CaptchaRespCode>
| 枚举常量和说明 |
|---|
CHECK_SUCCESS |
EXPIRE |
INCORRECT
验证码异常
|
NOT_FOUND |
RENDER_FAIL |
SUCCESS
获取验证码成功 C *****
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getResultCode() |
String |
getResultMsg() |
void |
setResultCode(String resultCode) |
void |
setResultMsg(String resultMsg) |
static CaptchaRespCode |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static CaptchaRespCode[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final CaptchaRespCode SUCCESS
public static final CaptchaRespCode CHECK_SUCCESS
public static final CaptchaRespCode INCORRECT
public static final CaptchaRespCode NOT_FOUND
public static final CaptchaRespCode EXPIRE
public static final CaptchaRespCode RENDER_FAIL
public static CaptchaRespCode[] values()
for (CaptchaRespCode c : CaptchaRespCode.values()) System.out.println(c);
public static CaptchaRespCode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getResultCode()
public void setResultCode(String resultCode)
public String getResultMsg()
public void setResultMsg(String resultMsg)
Copyright © 2024. All rights reserved.