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