Package google.registry.model.eppoutput
Enum Result.Code
- java.lang.Object
-
- java.lang.Enum<Result.Code>
-
- google.registry.model.eppoutput.Result.Code
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Result.Code>
- Enclosing class:
- Result
public static enum Result.Code extends java.lang.Enum<Result.Code>
"EPP result codes are based on the theory of reply codes described in section 4.2.1 of [RFC5321]. EPP uses four decimal digits to describe the success or failure of each EPP command. Each of the digits of the reply have special significance." "The first digit denotes command success or failure. The second digit denotes the response category, such as command syntax or security. The third and fourth digits provide explicit response detail within each response category."
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSuccess()
static Result.Code
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Result.Code[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final Result.Code SUCCESS
-
SUCCESS_WITH_ACTION_PENDING
public static final Result.Code SUCCESS_WITH_ACTION_PENDING
-
SUCCESS_WITH_NO_MESSAGES
public static final Result.Code SUCCESS_WITH_NO_MESSAGES
-
SUCCESS_WITH_ACK_MESSAGE
public static final Result.Code SUCCESS_WITH_ACK_MESSAGE
-
SUCCESS_AND_CLOSE
public static final Result.Code SUCCESS_AND_CLOSE
-
UNKNOWN_COMMAND
public static final Result.Code UNKNOWN_COMMAND
-
SYNTAX_ERROR
public static final Result.Code SYNTAX_ERROR
-
COMMAND_USE_ERROR
public static final Result.Code COMMAND_USE_ERROR
-
REQUIRED_PARAMETER_MISSING
public static final Result.Code REQUIRED_PARAMETER_MISSING
-
PARAMETER_VALUE_RANGE_ERROR
public static final Result.Code PARAMETER_VALUE_RANGE_ERROR
-
PARAMETER_VALUE_SYNTAX_ERROR
public static final Result.Code PARAMETER_VALUE_SYNTAX_ERROR
-
UNIMPLEMENTED_PROTOCOL_VERSION
public static final Result.Code UNIMPLEMENTED_PROTOCOL_VERSION
-
UNIMPLEMENTED_COMMAND
public static final Result.Code UNIMPLEMENTED_COMMAND
-
UNIMPLEMENTED_OPTION
public static final Result.Code UNIMPLEMENTED_OPTION
-
UNIMPLEMENTED_EXTENSION
public static final Result.Code UNIMPLEMENTED_EXTENSION
-
AUTHENTICATION_ERROR
public static final Result.Code AUTHENTICATION_ERROR
-
AUTHORIZATION_ERROR
public static final Result.Code AUTHORIZATION_ERROR
-
INVALID_AUTHORIZATION_INFORMATION_ERROR
public static final Result.Code INVALID_AUTHORIZATION_INFORMATION_ERROR
-
OBJECT_PENDING_TRANSFER
public static final Result.Code OBJECT_PENDING_TRANSFER
-
OBJECT_NOT_PENDING_TRANSFER
public static final Result.Code OBJECT_NOT_PENDING_TRANSFER
-
OBJECT_EXISTS
public static final Result.Code OBJECT_EXISTS
-
OBJECT_DOES_NOT_EXIST
public static final Result.Code OBJECT_DOES_NOT_EXIST
-
STATUS_PROHIBITS_OPERATION
public static final Result.Code STATUS_PROHIBITS_OPERATION
-
ASSOCIATION_PROHIBITS_OPERATION
public static final Result.Code ASSOCIATION_PROHIBITS_OPERATION
-
PARAMETER_VALUE_POLICY_ERROR
public static final Result.Code PARAMETER_VALUE_POLICY_ERROR
-
UNIMPLEMENTED_OBJECT_SERVICE
public static final Result.Code UNIMPLEMENTED_OBJECT_SERVICE
-
COMMAND_FAILED
public static final Result.Code COMMAND_FAILED
-
AUTHENTICATION_ERROR_CLOSING_CONNECTION
public static final Result.Code AUTHENTICATION_ERROR_CLOSING_CONNECTION
-
-
Method Detail
-
values
public static Result.Code[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Result.Code c : Result.Code.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Result.Code valueOf(java.lang.String name)
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
-
isSuccess
public boolean isSuccess()
- Returns:
- true iff the response code is in the 1xxx category, representing success.
-
-