Package org.apache.hc.core5.http2.hpack
Class HPackDecoder
- java.lang.Object
-
- org.apache.hc.core5.http2.hpack.HPackDecoder
-
@Internal public final class HPackDecoder extends java.lang.ObjectHPACK 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.hc.core5.http.HeaderdecodeHeader(java.nio.ByteBuffer src)java.util.List<org.apache.hc.core5.http.Header>decodeHeaders(java.nio.ByteBuffer src)intgetMaxListSize()intgetMaxTableSize()voidsetMaxListSize(int maxListSize)voidsetMaxTableSize(int maxTableSize)
-
-
-
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)
-
-