public static enum AsyncHandler.STATE extends Enum<AsyncHandler.STATE>
Enum Constant and Description |
---|
ABORT
Stop the processing.
|
CONTINUE
Continue the processing
|
UPGRADE
Upgrade the protocol.
|
Modifier and Type | Method and Description |
---|---|
static AsyncHandler.STATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncHandler.STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncHandler.STATE ABORT
public static final AsyncHandler.STATE CONTINUE
public static final AsyncHandler.STATE UPGRADE
public static AsyncHandler.STATE[] values()
for (AsyncHandler.STATE c : AsyncHandler.STATE.values()) System.out.println(c);
public static AsyncHandler.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 © 2014. All Rights Reserved.