public class WebSocket13FrameDecoder extends WebSocket08FrameDecoder
ChannelHandler.Sharable
Constructor and Description |
---|
WebSocket13FrameDecoder(boolean maskedPayload,
boolean allowExtensions,
int maxFramePayloadLength)
Constructor
|
checkCloseFrameBody, decode
actualReadableBytes, callDecode, channelInactive, channelReadSuspended, checkpoint, checkpoint, discardInboundReadBytes, discardInboundReadBytes0, internalBuffer, newInboundBuffer, newInboundBuffer0, state, state
decodeLast, inboundBufferUpdated, isSingleDecode, setSingleDecode
freeInboundBuffer, inboundBufferUpdated
channelActive, channelRegistered, channelUnregistered, userEventTriggered
afterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaught
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
channelActive, channelRegistered, channelUnregistered, userEventTriggered
afterAdd, afterRemove, beforeAdd, beforeRemove, exceptionCaught
public WebSocket13FrameDecoder(boolean maskedPayload, boolean allowExtensions, int maxFramePayloadLength)
maskedPayload
- Web socket servers must set this to true processed incoming masked payload. Client implementations
must set this to false.allowExtensions
- Flag to allow reserved extension bits to be used or notmaxFramePayloadLength
- Maximum length of a frame's payload. Setting this to an appropriate value for you application
helps check for denial of services attacks.Copyright © 2008-2013 The Netty Project. All Rights Reserved.