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