protected static enum FrameBuilderRfc6455.Opcode extends Enum<FrameBuilderRfc6455.Opcode>
| Enum Constant and Description |
|---|
BINARY_FRAME
The BINARY_FRAME.
|
CONNECTION_CLOSE
The CONNECTION_CLOSE.
|
CONTINUATION
The CONTINUATION.
|
PING
The PING.
|
PONG
The PONG.
|
TEXT_FRAME
The TEXT_FRAME.
|
| Modifier and Type | Method and Description |
|---|---|
int |
intValue()
Int value.
|
static FrameBuilderRfc6455.Opcode |
valueOf(int opc)
Value of.
|
static FrameBuilderRfc6455.Opcode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FrameBuilderRfc6455.Opcode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameBuilderRfc6455.Opcode CONTINUATION
public static final FrameBuilderRfc6455.Opcode TEXT_FRAME
public static final FrameBuilderRfc6455.Opcode BINARY_FRAME
public static final FrameBuilderRfc6455.Opcode CONNECTION_CLOSE
public static final FrameBuilderRfc6455.Opcode PING
public static final FrameBuilderRfc6455.Opcode PONG
public static FrameBuilderRfc6455.Opcode[] values()
for (FrameBuilderRfc6455.Opcode c : FrameBuilderRfc6455.Opcode.values()) System.out.println(c);
public static FrameBuilderRfc6455.Opcode 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 int intValue()
public static FrameBuilderRfc6455.Opcode valueOf(int opc)
opc - the opcCopyright © 2021. All rights reserved.