Class OpCode
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.OpCode
-
@Deprecated(since="2021-05-27") public final class OpCode extends java.lang.Object
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static byte
BINARY
Deprecated.OpCode for a Binary Framestatic byte
CLOSE
Deprecated.OpCode for a Close Framestatic byte
CONTINUATION
Deprecated.OpCode for a Continuation Framestatic byte
PING
Deprecated.OpCode for a Ping Framestatic byte
PONG
Deprecated.OpCode for a Pong Framestatic byte
TEXT
Deprecated.OpCode for a Text Framestatic byte
UNDEFINED
Deprecated.An undefined OpCode
-
Constructor Summary
Constructors Constructor Description OpCode()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
isControlFrame(byte opcode)
Deprecated.static boolean
isDataFrame(byte opcode)
Deprecated.static boolean
isKnown(byte opcode)
Deprecated.Test for known opcodes (per the RFC spec)static java.lang.String
name(byte opcode)
Deprecated.
-
-
-
Field Detail
-
CONTINUATION
public static final byte CONTINUATION
Deprecated.OpCode for a Continuation Frame
-
TEXT
public static final byte TEXT
Deprecated.OpCode for a Text Frame
-
BINARY
public static final byte BINARY
Deprecated.OpCode for a Binary Frame
-
CLOSE
public static final byte CLOSE
Deprecated.OpCode for a Close Frame
-
PING
public static final byte PING
Deprecated.OpCode for a Ping Frame
-
PONG
public static final byte PONG
Deprecated.OpCode for a Pong Frame
-
UNDEFINED
public static final byte UNDEFINED
Deprecated.An undefined OpCode- See Also:
- Constant Field Values
-
-
Method Detail
-
isControlFrame
public static boolean isControlFrame(byte opcode)
Deprecated.
-
isDataFrame
public static boolean isDataFrame(byte opcode)
Deprecated.
-
isKnown
public static boolean isKnown(byte opcode)
Deprecated.Test for known opcodes (per the RFC spec)- Parameters:
opcode
- the opcode to test- Returns:
- true if known. false if unknown, undefined, or reserved
-
name
public static java.lang.String name(byte opcode)
Deprecated.
-
-