程序包 | 说明 |
---|---|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
限定符和类型 | 方法和说明 |
---|---|
CloseWebSocketFrame |
CloseWebSocketFrame.copy() |
CloseWebSocketFrame |
CloseWebSocketFrame.duplicate() |
CloseWebSocketFrame |
CloseWebSocketFrame.replace(ByteBuf content) |
CloseWebSocketFrame |
CloseWebSocketFrame.retain() |
CloseWebSocketFrame |
CloseWebSocketFrame.retain(int increment) |
CloseWebSocketFrame |
CloseWebSocketFrame.retainedDuplicate() |
CloseWebSocketFrame |
CloseWebSocketFrame.touch() |
CloseWebSocketFrame |
CloseWebSocketFrame.touch(java.lang.Object hint) |
限定符和类型 | 方法和说明 |
---|---|
ChannelFuture |
WebSocketServerHandshaker.close(Channel channel,
CloseWebSocketFrame frame)
Performs the closing handshake.
|
ChannelFuture |
WebSocketClientHandshaker.close(Channel channel,
CloseWebSocketFrame frame)
Performs the closing handshake.
|
ChannelFuture |
WebSocketServerHandshaker00.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Echo back the closing frame
|
ChannelFuture |
WebSocketServerHandshaker.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake.
|
ChannelFuture |
WebSocketClientHandshaker.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake
When called from within a
ChannelHandler you most likely want to use
WebSocketClientHandshaker.close(ChannelHandlerContext, CloseWebSocketFrame, ChannelPromise) . |
ChannelFuture |
WebSocketServerHandshaker.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame)
Performs the closing handshake.
|
ChannelFuture |
WebSocketClientHandshaker.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame)
Performs the closing handshake
|
ChannelFuture |
WebSocketServerHandshaker00.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame,
ChannelPromise promise)
Echo back the closing frame
|
ChannelFuture |
WebSocketServerHandshaker.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake.
|
ChannelFuture |
WebSocketClientHandshaker.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake
|