public class CloseMessage extends Message<java.lang.Short>
| Modifier and Type | Field and Description |
|---|---|
static short |
CANNOT_ACCEPT |
static short |
CLOSED_ABNORMALLY |
static short |
GOING_AWAY |
static short |
NO_EXTENSION |
static short |
NO_STATUS_CODE |
static short |
NORMAL |
static short |
NOT_CONSISTENT |
static short |
PROTOCOL_ERROR |
static short |
RESERVED |
static short |
SERVICE_RESTART |
static short |
TLS_HANDSHAKE_FAILURE |
static short |
TOO_BIG |
static short |
TRY_AGAIN_LATER |
static short |
UNEXPECTED_CONDITION |
static short |
VIOLATED_POLICY |
| Constructor and Description |
|---|
CloseMessage(byte[] payload) |
CloseMessage(java.lang.Short code) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
payload() |
java.lang.String |
toString() |
public static final short NORMAL
public static final short GOING_AWAY
public static final short PROTOCOL_ERROR
public static final short CANNOT_ACCEPT
public static final short RESERVED
public static final short NO_STATUS_CODE
public static final short CLOSED_ABNORMALLY
public static final short NOT_CONSISTENT
public static final short VIOLATED_POLICY
public static final short TOO_BIG
public static final short NO_EXTENSION
public static final short UNEXPECTED_CONDITION
public static final short SERVICE_RESTART
public static final short TRY_AGAIN_LATER
public static final short TLS_HANDSHAKE_FAILURE