Module swim.ws
Package swim.ws

Class WsDeflateDecoder

    • Field Detail

      • inflate

        protected final swim.deflate.Inflate<?> inflate
      • decompressing

        protected boolean decompressing
    • Constructor Detail

      • WsDeflateDecoder

        public WsDeflateDecoder​(swim.deflate.Inflate<?> inflate,
                                boolean decompressing)
      • WsDeflateDecoder

        public WsDeflateDecoder​(swim.deflate.Inflate<?> inflate)
    • Method Detail

      • inflate

        public final swim.deflate.Inflate<?> inflate()
      • decompressing

        public final boolean decompressing()
      • decodeContinuationFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeContinuationFrame​(int finRsvOp,
                                                                          swim.codec.Decoder<T> content,
                                                                          swim.codec.InputBuffer input)
        Overrides:
        decodeContinuationFrame in class WsDecoder
      • decodeTextFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeTextFrame​(int finRsvOp,
                                                                  swim.codec.Decoder<T> content,
                                                                  swim.codec.InputBuffer input)
        Overrides:
        decodeTextFrame in class WsDecoder
      • decodeBinaryFrame

        public <T> swim.codec.Decoder<WsFrame<T>> decodeBinaryFrame​(int finRsvOp,
                                                                    swim.codec.Decoder<T> content,
                                                                    swim.codec.InputBuffer input)
        Overrides:
        decodeBinaryFrame in class WsDecoder