程序包 | 说明 |
---|---|
io.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
io.netty.example.stomp.websocket | |
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
io.netty.handler.codec.http.websocketx.extensions |
Encoder, decoder, handshakers to handle
WebSocket Extensions.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
WebSocketFrameHandler.channelRead0(ChannelHandlerContext ctx,
WebSocketFrame frame) |
限定符和类型 | 方法和说明 |
---|---|
protected WebSocketFrame |
StompWebSocketFrameEncoder.convertContentSubFrame(StompContentSubframe original,
ByteBuf encoded) |
protected WebSocketFrame |
StompWebSocketFrameEncoder.convertFullFrame(StompFrame original,
ByteBuf encoded) |
protected WebSocketFrame |
StompWebSocketFrameEncoder.convertHeadersSubFrame(StompHeadersSubframe original,
ByteBuf encoded) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
StompWebSocketProtocolCodec.decode(ChannelHandlerContext ctx,
WebSocketFrame webSocketFrame,
java.util.List<java.lang.Object> out) |
限定符和类型 | 类和说明 |
---|---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
protected WebSocketFrame |
WebSocketFrameAggregator.beginAggregation(WebSocketFrame start,
ByteBuf content) |
WebSocketFrame |
WebSocketFrame.copy() |
WebSocketFrame |
WebSocketFrame.duplicate() |
WebSocketFrame |
WebSocketChunkedInput.readChunk(ByteBufAllocator allocator)
Fetches a chunked data from the stream.
|
WebSocketFrame |
WebSocketChunkedInput.readChunk(ChannelHandlerContext ctx)
已过时。
Use
WebSocketChunkedInput.readChunk(ByteBufAllocator) .
Fetches a chunked data from the stream. Once this method returns the last chunk
and thus the stream has reached at its end, any subsequent WebSocketChunkedInput.isEndOfInput()
call must return 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) |
限定符和类型 | 方法和说明 |
---|---|
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) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
WebSocketExtensionFilter.mustSkip(WebSocketFrame frame)
Returns
true if the evaluation of the extension must skipped
for the given frame otherwise false . |