Package com.neovisionaries.ws.client
Class WebSocketOpcode
- java.lang.Object
-
- com.neovisionaries.ws.client.WebSocketOpcode
-
public class WebSocketOpcode extends java.lang.Object
Opcode.- See Also:
- RFC 6455, 5.2. Base Framing Protocol
-
-
Field Summary
Fields Modifier and Type Field Description static int
BINARY
Opcode for "binary frame" (0x2).static int
CLOSE
Opcode for "connection close" (0x8).static int
CONTINUATION
Opcode for "frame continuation" (0x0).static int
PING
Opcode for "ping" (0x9).static int
PONG
Opcode for "pong" (0xA).static int
TEXT
Opcode for "text frame" (0x1).
-
Constructor Summary
Constructors Modifier Constructor Description private
WebSocketOpcode()
-
-
-
Field Detail
-
CONTINUATION
public static final int CONTINUATION
Opcode for "frame continuation" (0x0).- See Also:
- Constant Field Values
-
TEXT
public static final int TEXT
Opcode for "text frame" (0x1).- See Also:
- Constant Field Values
-
BINARY
public static final int BINARY
Opcode for "binary frame" (0x2).- See Also:
- Constant Field Values
-
CLOSE
public static final int CLOSE
Opcode for "connection close" (0x8).- See Also:
- Constant Field Values
-
PING
public static final int PING
Opcode for "ping" (0x9).- See Also:
- Constant Field Values
-
PONG
public static final int PONG
Opcode for "pong" (0xA).- See Also:
- Constant Field Values
-
-