public static enum WebSocketExtension.Parameter.Metadata extends Enum<WebSocketExtension.Parameter.Metadata>
Enum Constant and Description |
---|
ANONYMOUS
Name of a parameter marked as anonymous will not be put on the wire
during the handshake.
|
REQUIRED
Parameters marked as required must be set for the entire extension
to be negotiated during the handshake.
|
TEMPORAL
Parameter marked as temporal will not be negotiated during the
handshake.
|
Modifier and Type | Method and Description |
---|---|
static WebSocketExtension.Parameter.Metadata |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebSocketExtension.Parameter.Metadata[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebSocketExtension.Parameter.Metadata ANONYMOUS
public static final WebSocketExtension.Parameter.Metadata REQUIRED
public static final WebSocketExtension.Parameter.Metadata TEMPORAL
public static WebSocketExtension.Parameter.Metadata[] values()
for (WebSocketExtension.Parameter.Metadata c : WebSocketExtension.Parameter.Metadata.values()) System.out.println(c);
public static WebSocketExtension.Parameter.Metadata 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 © 2014. All Rights Reserved.