public static enum Param.Role extends Enum<Param.Role>
Enum Constant and Description |
---|
CLOSE_REASON |
ENDPOINT_CONFIG |
ERROR_CAUSE |
MESSAGE_BINARY |
MESSAGE_BINARY_STREAM |
MESSAGE_PARTIAL_FLAG |
MESSAGE_PONG |
MESSAGE_TEXT |
MESSAGE_TEXT_STREAM |
PATH_PARAM |
SESSION |
Modifier and Type | Method and Description |
---|---|
static Param.Role[] |
getMessageRoles() |
static Param.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Param.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Param.Role SESSION
public static final Param.Role ENDPOINT_CONFIG
public static final Param.Role CLOSE_REASON
public static final Param.Role ERROR_CAUSE
public static final Param.Role MESSAGE_TEXT
public static final Param.Role MESSAGE_TEXT_STREAM
public static final Param.Role MESSAGE_BINARY
public static final Param.Role MESSAGE_BINARY_STREAM
public static final Param.Role MESSAGE_PONG
public static final Param.Role MESSAGE_PARTIAL_FLAG
public static final Param.Role PATH_PARAM
public static Param.Role[] values()
for (Param.Role c : Param.Role.values()) System.out.println(c);
public static Param.Role 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 nullpublic static Param.Role[] getMessageRoles()
Copyright © 1995-2015 Webtide. All Rights Reserved.