Class HPackDecoder


  • @Internal
    public final class HPackDecoder
    extends java.lang.Object
    HPACK decoder.
    Since:
    5.0
    • Constructor Summary

      Constructors 
      Constructor Description
      HPackDecoder​(int maxTableSize, java.nio.charset.Charset charset)  
      HPackDecoder​(int maxTableSize, java.nio.charset.CharsetDecoder charsetDecoder)  
    • Constructor Detail

      • HPackDecoder

        public HPackDecoder​(int maxTableSize,
                            java.nio.charset.Charset charset)
      • HPackDecoder

        public HPackDecoder​(int maxTableSize,
                            java.nio.charset.CharsetDecoder charsetDecoder)
    • Method Detail

      • decodeHeader

        public org.apache.hc.core5.http.Header decodeHeader​(java.nio.ByteBuffer src)
                                                     throws HPackException
        Throws:
        HPackException
      • decodeHeaders

        public java.util.List<org.apache.hc.core5.http.Header> decodeHeaders​(java.nio.ByteBuffer src)
                                                                      throws HPackException
        Throws:
        HPackException
      • getMaxTableSize

        public int getMaxTableSize()
      • setMaxTableSize

        public void setMaxTableSize​(int maxTableSize)
      • getMaxListSize

        public int getMaxListSize()
      • setMaxListSize

        public void setMaxListSize​(int maxListSize)