Package | Description |
---|---|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
Modifier and Type | Field and Description |
---|---|
static WebSocketCloseStatus |
WebSocketCloseStatus.BAD_GATEWAY |
static WebSocketCloseStatus |
WebSocketCloseStatus.ENDPOINT_UNAVAILABLE |
static WebSocketCloseStatus |
WebSocketCloseStatus.INTERNAL_SERVER_ERROR |
static WebSocketCloseStatus |
WebSocketCloseStatus.INVALID_MESSAGE_TYPE |
static WebSocketCloseStatus |
WebSocketCloseStatus.INVALID_PAYLOAD_DATA |
static WebSocketCloseStatus |
WebSocketCloseStatus.MANDATORY_EXTENSION |
static WebSocketCloseStatus |
WebSocketCloseStatus.MESSAGE_TOO_BIG |
static WebSocketCloseStatus |
WebSocketCloseStatus.NORMAL_CLOSURE |
static WebSocketCloseStatus |
WebSocketCloseStatus.POLICY_VIOLATION |
static WebSocketCloseStatus |
WebSocketCloseStatus.PROTOCOL_ERROR |
static WebSocketCloseStatus |
WebSocketCloseStatus.SERVICE_RESTART |
static WebSocketCloseStatus |
WebSocketCloseStatus.TRY_AGAIN_LATER |
Modifier and Type | Method and Description |
---|---|
WebSocketCloseStatus |
CorruptedWebSocketFrameException.closeStatus() |
WebSocketCloseStatus |
WebSocketServerProtocolConfig.sendCloseFrame() |
WebSocketCloseStatus |
WebSocketClientProtocolConfig.sendCloseFrame() |
static WebSocketCloseStatus |
WebSocketCloseStatus.valueOf(int code) |
Modifier and Type | Method and Description |
---|---|
int |
WebSocketCloseStatus.compareTo(WebSocketCloseStatus o)
Order of
WebSocketCloseStatus only depends on code() . |
WebSocketServerProtocolConfig.Builder |
WebSocketServerProtocolConfig.Builder.sendCloseFrame(WebSocketCloseStatus sendCloseFrame)
Close frame to send, when close frame was not send manually.
|
WebSocketClientProtocolConfig.Builder |
WebSocketClientProtocolConfig.Builder.sendCloseFrame(WebSocketCloseStatus sendCloseFrame)
Close frame to send, when close frame was not send manually.
|
Constructor and Description |
---|
CloseWebSocketFrame(WebSocketCloseStatus status)
Creates a new empty close frame with closing status code and reason text
|
CloseWebSocketFrame(WebSocketCloseStatus status,
String reasonText)
Creates a new empty close frame with closing status code and reason text
|
CorruptedWebSocketFrameException(WebSocketCloseStatus status,
String message)
Creates a new instance.
|
CorruptedWebSocketFrameException(WebSocketCloseStatus status,
String message,
Throwable cause)
Creates a new instance.
|
CorruptedWebSocketFrameException(WebSocketCloseStatus status,
Throwable cause)
Creates a new instance.
|
Copyright © 2008–2020 The Netty Project. All rights reserved.