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:
io.netty.channel.ChannelHandler,io.netty.channel.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
io.netty.channel.ChannelHandler.Sharable -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.netty.handler.codec.http.websocketx.WebSocket08FrameEncoder
encodeMethods inherited from class io.netty.handler.codec.MessageToMessageEncoder
acceptOutboundMessage, writeMethods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, readMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
exceptionCaught, handlerAdded, handlerRemovedMethods 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.
-