Enum Constant and Description |
---|
ENCRYPTED |
ENCRYPTED_REQUEST |
NONE |
REQUEST |
Modifier and Type | Method and Description |
---|---|
byte |
getValue() |
static Flag |
of(byte value) |
static Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flag NONE
public static final Flag ENCRYPTED
public static final Flag REQUEST
public static final Flag ENCRYPTED_REQUEST
public static Flag[] values()
for (Flag c : Flag.values()) System.out.println(c);
public static Flag 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 nullpublic byte getValue()
public static Flag of(byte value)