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 |
---|---|
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(Object hint) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
WebSocketServerHandshaker.close(Channel channel,
CloseWebSocketFrame frame)
Performs the closing handshake.
|
ChannelFuture |
WebSocketClientHandshaker.close(Channel channel,
CloseWebSocketFrame frame)
Performs the closing handshake.
|
ChannelFuture |
WebSocketServerHandshaker.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake.
|
ChannelFuture |
WebSocketServerHandshaker00.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Echo back the closing frame
|
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 |
WebSocketServerHandshaker.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake.
|
ChannelFuture |
WebSocketServerHandshaker00.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame,
ChannelPromise promise)
Echo back the closing frame
|
ChannelFuture |
WebSocketClientHandshaker.close(ChannelHandlerContext ctx,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake
|
Copyright © 2008–2024 The Netty Project. All rights reserved.