Enum Class HvlOAuthCaptchaErrorCode
java.lang.Object
java.lang.Enum<HvlOAuthCaptchaErrorCode>
tr.com.havelsan.javarch.oauth.captcha.verification.provider.model.HvlOAuthCaptchaErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<HvlOAuthCaptchaErrorCode>
,Constable
The enum Hvl o auth captcha error code enum.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBad request error code.Invalid response error code.Invalid secret error code.Missing response error code.Missing secret error code.Timeout or duplicate error code. -
Method Summary
Modifier and TypeMethodDescriptionGets code value.static HvlOAuthCaptchaErrorCode
Returns the enum constant of this class with the specified name.static HvlOAuthCaptchaErrorCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MISSING_SECRET
Missing secret error code. -
INVALID_SECRET
Invalid secret error code. -
MISSING_RESPONSE
Missing response error code. -
INVALID_RESPONSE
Invalid response error code. -
BAD_REQUEST
Bad request error code. -
TIMEOUT_OR_DUPLICATE
Timeout or duplicate error code.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCodeValue
Gets code value.- Returns:
- the code value
-