public static enum GenericClientResponse.STATUS_CODES extends java.lang.Enum<GenericClientResponse.STATUS_CODES>
Enum Constant and Description |
---|
INCOMPLETE_RESPONSE |
NULL_RESPONSE |
OPEN_FAIL |
READ_FAIL |
SUCCEED |
WRITE_FAIL |
Modifier and Type | Method and Description |
---|---|
static GenericClientResponse.STATUS_CODES |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GenericClientResponse.STATUS_CODES[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericClientResponse.STATUS_CODES OPEN_FAIL
public static final GenericClientResponse.STATUS_CODES WRITE_FAIL
public static final GenericClientResponse.STATUS_CODES READ_FAIL
public static final GenericClientResponse.STATUS_CODES NULL_RESPONSE
public static final GenericClientResponse.STATUS_CODES INCOMPLETE_RESPONSE
public static final GenericClientResponse.STATUS_CODES SUCCEED
public static GenericClientResponse.STATUS_CODES[] values()
for (GenericClientResponse.STATUS_CODES c : GenericClientResponse.STATUS_CODES.values()) System.out.println(c);
public static GenericClientResponse.STATUS_CODES valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null