Class WebSocket07FrameDecoder

All Implemented Interfaces:
ChannelHandler, ChannelUpstreamHandler, LifeCycleAwareChannelHandler

public class WebSocket07FrameDecoder extends WebSocket08FrameDecoder
Decodes a web socket frame from wire protocol version 7 format. V7 is essentially the same as V8.
  • Constructor Details

    • WebSocket07FrameDecoder

      public WebSocket07FrameDecoder(boolean maskedPayload, boolean allowExtensions, long maxFramePayloadLength)
      Constructor
      Parameters:
      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 not
      maxFramePayloadLength - Maximum length of a frame's payload. Setting this to an appropriate value for you application helps check for denial of services attacks.