Class WebSocket13FrameEncoder
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelOutboundHandlerAdapter
io.netty.handler.codec.MessageToMessageEncoder<WebSocketFrame>
io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder
io.netty.handler.codec.http.websocketx.WebSocket13FrameEncoder
- All Implemented Interfaces:
ChannelHandler
,ChannelOutboundHandler
,WebSocketFrameEncoder
Encodes a web socket frame into wire protocol version 13 format. V13 is essentially the same as V8.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder
encode
Methods inherited from class io.netty.handler.codec.MessageToMessageEncoder
acceptOutboundMessage, write
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemoved
Methods inherited from interface io.netty.channel.ChannelOutboundHandler
bind, close, connect, deregister, disconnect, flush, read, write
-
Constructor Details
-
WebSocket13FrameEncoder
public WebSocket13FrameEncoder(boolean maskPayload) Constructor- Parameters:
maskPayload
- Web socket clients must set this to true to mask payload. Server implementations must set this to false.
-