public class WebSocket13FrameDecoder extends WebSocket08FrameDecoder
WebSocket08FrameDecoder.State
ChannelHandler.Sharable
cumulation, DEFAULT_MAX_COMPOSITEBUFFER_COMPONENTS
Constructor and Description |
---|
WebSocket13FrameDecoder(boolean maskedPayload,
boolean allowExtensions)
Constructor with default values
|
WebSocket13FrameDecoder(boolean maskedPayload,
boolean allowExtensions,
long maxFramePayloadLength)
Constructor
|
checkCloseFrameBody, decode
checkpoint, checkpoint, cleanup, decode, decodeLast, decodeLast, getState, internalBuffer, messageReceived, setState
actualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, exceptionCaught, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, isUnfold, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulation
channelBound, channelConnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, handleUpstream, writeComplete
public WebSocket13FrameDecoder(boolean maskedPayload, boolean allowExtensions)
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 notpublic WebSocket13FrameDecoder(boolean maskedPayload, boolean allowExtensions, long 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.