Package io.codef.easycodef
Enum EasyCodefMessageConstant
java.lang.Object
java.lang.Enum<EasyCodefMessageConstant>
io.codef.easycodef.EasyCodefMessageConstant
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EasyCodefMessageConstant>
,java.lang.constant.Constable
public enum EasyCodefMessageConstant extends java.lang.Enum<EasyCodefMessageConstant>
io.codef.easycodef |_ EasyCodefMessageConstant.javaDesc : EasyCodef에서 사용되는 메시지 코드 클래스
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_REQUEST
EMPTY_CLIENT_INFO
EMPTY_PUBLIC_KEY
FORBIDDEN
INVALID_2WAY_INFO
INVALID_2WAY_KEYWORD
INVALID_JSON
INVALID_PARAMETER
LIBRARY_SENDER_ERROR
METHOD_NOT_ALLOWED
NOT_FOUND
OK
SERVER_ERROR
UNAUTHORIZED
UNSUPPORTED_ENCODING
-
Method Summary
Modifier and Type Method Description protected java.lang.String
getCode()
protected java.lang.String
getExtraMessage()
protected java.lang.String
getMessage()
protected void
setExtraMessage(java.lang.String extraMessage)
static EasyCodefMessageConstant
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EasyCodefMessageConstant[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getCode
protected java.lang.String getCode() -
getMessage
protected java.lang.String getMessage() -
setExtraMessage
protected void setExtraMessage(java.lang.String extraMessage) -
getExtraMessage
protected java.lang.String getExtraMessage()
-