Class HpackDecoder


  • public class HpackDecoder
    extends Object
    A decoder for HPACK.
    Author:
    Stuart Douglas
    • Constructor Detail

      • HpackDecoder

        public HpackDecoder​(int maxAllowedMemorySize)
      • HpackDecoder

        public HpackDecoder()
    • Method Detail

      • decode

        public void decode​(ByteBuffer buffer,
                           boolean moreData)
                    throws HpackException
        Decodes the provided frame data. If this method leaves data in the buffer then this buffer should be compacted so this data is preserved, unless there is no more data in which case this should be considered a protocol error.
        Parameters:
        buffer - The buffer
        Throws:
        HpackException