程序包 | 说明 |
---|---|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
限定符和类型 | 方法和说明 |
---|---|
WebSocketCloseStatus |
CorruptedWebSocketFrameException.closeStatus() |
WebSocketCloseStatus |
WebSocketServerProtocolConfig.sendCloseFrame() |
WebSocketCloseStatus |
WebSocketClientProtocolConfig.sendCloseFrame() |
static WebSocketCloseStatus |
WebSocketCloseStatus.valueOf(int code) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
构造器和说明 |
---|
CloseWebSocketFrame(WebSocketCloseStatus status)
Creates a new empty close frame with closing status code and reason text
|
CloseWebSocketFrame(WebSocketCloseStatus status,
java.lang.String reasonText)
Creates a new empty close frame with closing status code and reason text
|
CorruptedWebSocketFrameException(WebSocketCloseStatus status,
java.lang.String message)
Creates a new instance.
|
CorruptedWebSocketFrameException(WebSocketCloseStatus status,
java.lang.String message,
java.lang.Throwable cause)
Creates a new instance.
|
CorruptedWebSocketFrameException(WebSocketCloseStatus status,
java.lang.Throwable cause)
Creates a new instance.
|