Class PerMessageDeflateDecoder

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

class PerMessageDeflateDecoder extends DeflateDecoder
Per-message implementation of deflate decompressor.
  • Field Details

    • compressing

      private boolean compressing
  • Constructor Details

    • PerMessageDeflateDecoder

      PerMessageDeflateDecoder(boolean noContext, int maxAllocation)
      Constructor
      Parameters:
      noContext - true to disable context takeover.
      maxAllocation - maximum size of the decompression buffer. Must be >= 0. If zero, maximum size is not limited.
    • PerMessageDeflateDecoder

      PerMessageDeflateDecoder(boolean noContext, WebSocketExtensionFilter extensionDecoderFilter, int maxAllocation)
      Constructor
      Parameters:
      noContext - true to disable context takeover.
      extensionDecoderFilter - extension decoder for per message deflate decoder.
      maxAllocation - maximum size of the decompression buffer. Must be >= 0. If zero, maximum size is not limited.
  • Method Details