public static enum Watchdog.State extends Enum<Watchdog.State>
Enum Constant and Description |
---|
DELIVERING
Stream received a response from upstream, and is awaiting outerResponseObserver processing.
|
IDLE
Stream has been started, but doesn't have any outstanding requests.
|
NOT_STARTED |
WAITING
Stream is awaiting a response from upstream.
|
Modifier and Type | Method and Description |
---|---|
static Watchdog.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Watchdog.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Watchdog.State NOT_STARTED
public static final Watchdog.State IDLE
public static final Watchdog.State WAITING
public static final Watchdog.State DELIVERING
public static Watchdog.State[] values()
for (Watchdog.State c : Watchdog.State.values()) System.out.println(c);
public static Watchdog.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 null