public static enum Draft.CloseHandshakeType extends Enum<Draft.CloseHandshakeType>
Modifier and Type | Method and Description |
---|---|
static Draft.CloseHandshakeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Draft.CloseHandshakeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Draft.CloseHandshakeType NONE
public static final Draft.CloseHandshakeType ONEWAY
public static final Draft.CloseHandshakeType TWOWAY
public static Draft.CloseHandshakeType[] values()
for (Draft.CloseHandshakeType c : Draft.CloseHandshakeType.values()) System.out.println(c);
public static Draft.CloseHandshakeType 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. All rights reserved.