Package | Description |
---|---|
jakarta.faces.event | |
jakarta.websocket |
This package contains all the Jakartq WebSocket APIs common to both the client and server side.
|
Modifier and Type | Method and Description |
---|---|
CloseReason.CloseCode |
WebsocketEvent.getCloseCode()
Returns the close code.
|
Constructor and Description |
---|
WebsocketEvent(String channel,
Serializable user,
CloseReason.CloseCode code) |
Modifier and Type | Class and Description |
---|---|
static class |
CloseReason.CloseCodes
An Enumeration of status codes for a web socket close that are defined in the specification.
|
Modifier and Type | Method and Description |
---|---|
CloseReason.CloseCode |
CloseReason.getCloseCode()
The Close code associated with this CloseReason.
|
static CloseReason.CloseCode |
CloseReason.CloseCodes.getCloseCode(int code)
Creates a CloseCode from the given int code number.
|
Constructor and Description |
---|
CloseReason(CloseReason.CloseCode closeCode,
String reasonPhrase)
Creates a reason for closing a web socket connection with the given code and reason phrase.
|
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.