Top Description Constructors Methods
io.netty.handler.codec.http.websocketx

public Class WebSocket07FrameDecoder

extends WebSocket08FrameDecoder
Class Inheritance

Decodes a web socket frame from wire protocol version 7 format. V7 is essentially the same as V8.

Constructor Summary

AccessConstructor and Description
public
WebSocket07FrameDecoder(boolean
Web socket servers must set this to true processed incoming masked payload. Client implementations must set this to false.
expectMaskedFrames
,
boolean
Flag to allow reserved extension bits to be used or not
allowExtensions
,
int
Maximum length of a frame's payload. Setting this to an appropriate value for you application helps check for denial of services attacks.
maxFramePayloadLength
)

Constructor

public
WebSocket07FrameDecoder(boolean
Web socket servers must set this to true processed incoming masked payload. Client implementations must set this to false.
expectMaskedFrames
,
boolean
Flag to allow reserved extension bits to be used or not
allowExtensions
,
int
Maximum length of a frame's payload. Setting this to an appropriate value for you application helps check for denial of services attacks.
maxFramePayloadLength
,
boolean
When set to true, frames which are not masked properly according to the standard will still be accepted.
allowMaskMismatch
)

Constructor

public
WebSocket07FrameDecoder(WebSocketDecoderConfig
Frames decoder configuration.
decoderConfig
)

Constructor

Method Summary

Inherited from io.netty.handler.codec.http.websocketx.WebSocket08FrameDecoder:
checkCloseFrameBodydecode

Constructor Detail

WebSocket07FrameDecoderback to summary
public WebSocket07FrameDecoder(boolean expectMaskedFrames, boolean allowExtensions, int maxFramePayloadLength)

Constructor

Parameters
expectMaskedFrames:boolean

Web socket servers must set this to true processed incoming masked payload. Client implementations must set this to false.

allowExtensions:boolean

Flag to allow reserved extension bits to be used or not

maxFramePayloadLength:int

Maximum length of a frame's payload. Setting this to an appropriate value for you application helps check for denial of services attacks.

WebSocket07FrameDecoderback to summary
public WebSocket07FrameDecoder(boolean expectMaskedFrames, boolean allowExtensions, int maxFramePayloadLength, boolean allowMaskMismatch)

Constructor

Parameters
expectMaskedFrames:boolean

Web socket servers must set this to true processed incoming masked payload. Client implementations must set this to false.

allowExtensions:boolean

Flag to allow reserved extension bits to be used or not

maxFramePayloadLength:int

Maximum length of a frame's payload. Setting this to an appropriate value for you application helps check for denial of services attacks.

allowMaskMismatch:boolean

When set to true, frames which are not masked properly according to the standard will still be accepted.

WebSocket07FrameDecoderback to summary
public WebSocket07FrameDecoder(WebSocketDecoderConfig decoderConfig)

Constructor

Parameters
decoderConfig:WebSocketDecoderConfig

Frames decoder configuration.