public static enum Http2Stream.State extends Enum<Http2Stream.State>
Enum Constant and Description |
---|
CLOSED |
HALF_CLOSED_LOCAL |
HALF_CLOSED_REMOTE |
IDLE |
OPEN |
RESERVED_LOCAL |
RESERVED_REMOTE |
Modifier and Type | Method and Description |
---|---|
static Http2Stream.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http2Stream.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http2Stream.State IDLE
public static final Http2Stream.State RESERVED_LOCAL
public static final Http2Stream.State RESERVED_REMOTE
public static final Http2Stream.State OPEN
public static final Http2Stream.State HALF_CLOSED_LOCAL
public static final Http2Stream.State HALF_CLOSED_REMOTE
public static final Http2Stream.State CLOSED
public static Http2Stream.State[] values()
for (Http2Stream.State c : Http2Stream.State.values()) System.out.println(c);
public static Http2Stream.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 © 2008–2015 The Netty Project. All rights reserved.