All Implemented Interfaces:
LifeCycle, Extension, IncomingFrames, OutgoingFrames
Direct Known Subclasses:
DeflateFrameExtension, PerMessageDeflateExtension

public abstract class CompressExtension extends AbstractExtension
  • Field Details

    • TAIL_BYTES

      protected static final byte[] TAIL_BYTES
    • TAIL_BYTES_BUF

      protected static final ByteBuffer TAIL_BYTES_BUF
    • TAIL_DROP_NEVER

      protected static final int TAIL_DROP_NEVER
      Never drop tail bytes 0000FFFF, from any frame type
      See Also:
    • TAIL_DROP_ALWAYS

      protected static final int TAIL_DROP_ALWAYS
      Always drop tail bytes 0000FFFF, from all frame types
      See Also:
    • TAIL_DROP_FIN_ONLY

      protected static final int TAIL_DROP_FIN_ONLY
      Only drop tail bytes 0000FFFF, from fin==true frames
      See Also:
    • RSV_USE_ALWAYS

      protected static final int RSV_USE_ALWAYS
      Always set RSV flag, on all frame types
      See Also:
    • RSV_USE_ONLY_FIRST

      protected static final int RSV_USE_ONLY_FIRST
      Only set RSV flag on first frame in multi-frame messages.

      Note: this automatically means no-continuation frames have the RSV bit set

      See Also:
    • INFLATE_BUFFER_SIZE

      protected static final int INFLATE_BUFFER_SIZE
      Inflater / Decompressed Buffer Size
      See Also:
    • INPUT_MAX_BUFFER_SIZE

      protected static final int INPUT_MAX_BUFFER_SIZE
      Deflater / Inflater: Maximum Input Buffer Size
      See Also:
    • decompressCount

      protected AtomicInteger decompressCount
  • Constructor Details

    • CompressExtension

      protected CompressExtension()
  • Method Details