| Modifier and Type | Field and Description |
|---|---|
| private final CloseReason | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CloseReason | |
| private static byte[] | |
| public void | respond(TyrusWebSocket
socket on which the appropriate action will be performed. socket)Implements abstract org. Execution part of frame processing. |
| private String |
| closeReason | back to summary |
|---|---|
| private final CloseReason closeReason | |
| EMPTY_BYTES | back to summary |
|---|---|
| private static final byte[] EMPTY_BYTES | |
| CloseFrame | back to summary |
|---|---|
| public CloseFrame(Frame frame) Constructor.
| |
| CloseFrame | back to summary |
|---|---|
| public CloseFrame(CloseReason closeReason) Constructor.
| |
| getCloseReason | back to summary |
|---|---|
| public CloseReason getCloseReason() Get close reason.
| |
| getPayload | back to summary |
|---|---|
| private static byte[] getPayload(int closeCode, String closeReason) | |
| respond | back to summary |
|---|---|
| public void respond(TyrusWebSocket socket) Implements abstract org. Doc from org. Execution part of frame processing.
| |
| utf8Decode | back to summary |
|---|---|
| private String utf8Decode(byte[] data) | |