public static enum AsyncContext.State extends Enum<AsyncContext.State>
Enum Constant and Description |
---|
COMPLETED
Indicates the processing represented by this asynchronous processing context
has been completed.
|
RESUMED
Indicates the asynchronous processing context has been resumed.
|
RUNNING
Indicates the asynchronous processing context is running.
|
SUSPENDED
Indicates the asynchronous processing context has been suspended.
|
Modifier and Type | Method and Description |
---|---|
static AsyncContext.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncContext.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncContext.State RUNNING
public static final AsyncContext.State SUSPENDED
AsyncContext.suspend()
public static final AsyncContext.State RESUMED
public static final AsyncContext.State COMPLETED
public static AsyncContext.State[] values()
for (AsyncContext.State c : AsyncContext.State.values()) System.out.println(c);
public static AsyncContext.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 © 2007-2023, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.