| Enum Constant and Description |
|---|
BINARY |
CLOSE |
CONTINUATION |
PING |
PONG |
TEXT |
| Modifier and Type | Field and Description |
|---|---|
byte |
value |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isContinuation() |
boolean |
isControl() |
static Opcode |
valueOf(int value) |
static Opcode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Opcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Opcode CONTINUATION
public static final Opcode TEXT
public static final Opcode BINARY
public static final Opcode CLOSE
public static final Opcode PING
public static final Opcode PONG
public static Opcode[] values()
for (Opcode c : Opcode.values()) System.out.println(c);
public static Opcode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isControl()
public boolean isContinuation()
public static Opcode valueOf(int value)