WebSocketFrame into a ByteBuf.
For the detailed instruction on adding add Web Socket support to your HTTP server, take a look into the
WebSocketServer example located in the io.netty.example.http.websocket package.
| Modifier and Type | Field and Description |
|---|---|
| private static final ByteBuf | |
| private static final ByteBuf | |
| private static final ByteBuf |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | encode(ChannelHandlerContext
the ctx, WebSocketFrame ChannelHandlerContext which this MessageToMessageEncoder belongs tothe message to encode to an other one msg, List<Object> the out)List into which the encoded msg should be added
needs to do some kind of aggregationImplements abstract io. |
| _0X00 | back to summary |
|---|---|
| private static final ByteBuf _0X00 | |
| _0XFF | back to summary |
|---|---|
| private static final ByteBuf _0XFF | |
| _0XFF_0X00 | back to summary |
|---|---|
| private static final ByteBuf _0XFF_0X00 | |
| WebSocket00FrameEncoder | back to summary |
|---|---|
| public WebSocket00FrameEncoder() | |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, WebSocketFrame msg, List<Object> out) throws Exception Implements abstract io. Doc from io. Encode from one message to an other. This method will be called for each written message that can be handled by this encoder.
| |