软件包 | 描述 |
---|---|
io.netty.handler.codec.http.websocketx |
Web Socket数据帧的编码器,解码器,握手及其相关消息类型。
|
Modifier and Type | Class and Description |
---|---|
class |
BinaryWebSocketFrame
包含二进制数据的Web Socket框架
|
class |
CloseWebSocketFrame
Web Socket Frame用于关闭连接
|
class |
ContinuationWebSocketFrame
Web套接字连续帧包含连续文本或二进制数据。
|
class |
PingWebSocketFrame
包含二进制数据的Web Socket框架
|
class |
PongWebSocketFrame
包含二进制数据的Web Socket框架
|
class |
TextWebSocketFrame
Web Socket文本框架
|
Modifier and Type | Method and Description |
---|---|
protected WebSocketFrame |
WebSocketFrameAggregator.beginAggregation(WebSocketFrame start, ByteBuf content) |
WebSocketFrame |
WebSocketFrame.copy() |
WebSocketFrame |
WebSocketFrame.duplicate() |
WebSocketFrame |
WebSocketChunkedInput.readChunk(ByteBufAllocator allocator)
从流中获取分块的数据。
|
WebSocketFrame |
WebSocketChunkedInput.readChunk(ChannelHandlerContext ctx)
已过时。
使用
WebSocketChunkedInput.readChunk(ByteBufAllocator) 。
从流中获取分块的数据。
一旦此方法返回最后一个块并因此流到达末尾,任何后续的WebSocketChunkedInput.isEndOfInput() 调用都必须返回true 。
|
abstract WebSocketFrame |
WebSocketFrame.replace(ByteBuf content) |
WebSocketFrame |
WebSocketFrame.retain() |
WebSocketFrame |
WebSocketFrame.retain(int increment) |
WebSocketFrame |
WebSocketFrame.retainedDuplicate() |
WebSocketFrame |
WebSocketFrame.touch() |
WebSocketFrame |
WebSocketFrame.touch(java.lang.Object hint) |
Modifier and Type | Method and Description |
---|---|
protected WebSocketFrame |
WebSocketFrameAggregator.beginAggregation(WebSocketFrame start, ByteBuf content) |
protected void |
WebSocketServerProtocolHandler.decode(ChannelHandlerContext ctx, WebSocketFrame frame, 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) |
protected boolean |
WebSocketFrameAggregator.isAggregated(WebSocketFrame msg) |
protected boolean |
WebSocketFrameAggregator.isContentLengthInvalid(WebSocketFrame start, int maxContentLength) |
protected boolean |
WebSocketFrameAggregator.isContentMessage(WebSocketFrame msg) |
protected boolean |
WebSocketFrameAggregator.isStartMessage(WebSocketFrame msg) |
protected java.lang.Object |
WebSocketFrameAggregator.newContinueResponse(WebSocketFrame start, int maxContentLength, ChannelPipeline pipeline) |
Copyright © 2008–2018 The Netty Project. All rights reserved.