protected static enum Http2Stream.TerminationType extends Enum<Http2Stream.TerminationType>
Enum Constant and Description |
---|
FIN |
FORCED |
LOCAL_CLOSE |
PEER_CLOSE |
RST |
Modifier and Type | Method and Description |
---|---|
static Http2Stream.TerminationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Http2Stream.TerminationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Http2Stream.TerminationType FIN
public static final Http2Stream.TerminationType RST
public static final Http2Stream.TerminationType LOCAL_CLOSE
public static final Http2Stream.TerminationType PEER_CLOSE
public static final Http2Stream.TerminationType FORCED
public static Http2Stream.TerminationType[] values()
for (Http2Stream.TerminationType c : Http2Stream.TerminationType.values()) System.out.println(c);
public static Http2Stream.TerminationType 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 © 2017 Oracle Corporation. All rights reserved.