public static enum CloseReason.Codes
Standard close reason codes
see https://tools.ietf.org/html/rfc6455#section-7.4 for list of codes
| Modifier and Type | Class and Description |
|---|---|
static class |
Codes.Companion |
| Enum Constant and Description |
|---|
CANNOT_ACCEPT |
GOING_AWAY |
NORMAL |
NOT_CONSISTENT |
NO_EXTENSION |
PROTOCOL_ERROR |
SERVICE_RESTART |
TOO_BIG |
TRY_AGAIN_LATER |
UNEXPECTED_CONDITION |
VIOLATED_POLICY |
| Modifier and Type | Field and Description |
|---|---|
static Codes.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
short |
getCode() |
public static CloseReason.Codes NORMAL
public static CloseReason.Codes GOING_AWAY
public static CloseReason.Codes PROTOCOL_ERROR
public static CloseReason.Codes CANNOT_ACCEPT
public static CloseReason.Codes NOT_CONSISTENT
public static CloseReason.Codes VIOLATED_POLICY
public static CloseReason.Codes TOO_BIG
public static CloseReason.Codes NO_EXTENSION
public static CloseReason.Codes UNEXPECTED_CONDITION
public static CloseReason.Codes SERVICE_RESTART
public static CloseReason.Codes TRY_AGAIN_LATER
public static Codes.Companion Companion