public static enum Request.State extends Enum<Request.State>
Enum Constant and Description |
---|
Complete |
Prepare |
WaitForResponse |
Written |
Modifier and Type | Method and Description |
---|---|
static Request.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.State Prepare
public static final Request.State Written
public static final Request.State WaitForResponse
public static final Request.State Complete
public static Request.State[] values()
for (Request.State c : Request.State.values()) System.out.println(c);
public static Request.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All Rights Reserved.