Package | Description |
---|---|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
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–2024 The Netty Project. All rights reserved.