程序包 | 说明 |
---|---|
io.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
WebSocketFrameHandler.channelRead0(ChannelHandlerContext ctx,
WebSocketFrame frame) |
限定符和类型 | 类和说明 |
---|---|
class |
BinaryWebSocketFrame
Web Socket frame containing binary data
|
class |
CloseWebSocketFrame
Web Socket Frame for closing the connection
|
class |
ContinuationWebSocketFrame
Web Socket continuation frame containing continuation text or binary data.
|
class |
PingWebSocketFrame
Web Socket frame containing binary data
|
class |
PongWebSocketFrame
Web Socket frame containing binary data
|
class |
TextWebSocketFrame
Web Socket text frame with assumed UTF-8 encoding
|
限定符和类型 | 方法和说明 |
---|---|
abstract WebSocketFrame |
WebSocketFrame.copy() |
abstract WebSocketFrame |
WebSocketFrame.duplicate() |
WebSocketFrame |
WebSocketChunkedInput.readChunk(ChannelHandlerContext ctx)
Fetches a chunked data from the stream.
|
WebSocketFrame |
WebSocketFrame.retain() |
WebSocketFrame |
WebSocketFrame.retain(int increment) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
WebSocketServerProtocolHandler.decode(ChannelHandlerContext ctx,
WebSocketFrame frame,
java.util.List<java.lang.Object> out) |
protected void |
WebSocketFrameAggregator.decode(ChannelHandlerContext ctx,
WebSocketFrame msg,
java.util.List<java.lang.Object> out) |
protected void |
WebSocketClientProtocolHandler.decode(ChannelHandlerContext ctx,
WebSocketFrame frame,
java.util.List<java.lang.Object> out) |
protected void |
WebSocket08FrameEncoder.encode(ChannelHandlerContext ctx,
WebSocketFrame msg,
java.util.List<java.lang.Object> out) |
protected void |
WebSocket00FrameEncoder.encode(ChannelHandlerContext ctx,
WebSocketFrame msg,
java.util.List<java.lang.Object> out) |