java.lang.Object
org.eclipse.jetty.http2.hpack.HpackDecoder
Hpack Decoder
This is not thread safe and may only be called by 1 thread at a time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.eclipse.jetty.http.HttpField.LongValueHttpFieldstatic final org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.jetty.http.MetaDatadecode(ByteBuffer buffer) voidsetLocalMaxDynamicTableSize(int localMaxdynamciTableSize) static StringtoASCIIString(ByteBuffer buffer, int length) toString()
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG -
CONTENT_LENGTH_0
public static final org.eclipse.jetty.http.HttpField.LongValueHttpField CONTENT_LENGTH_0
-
-
Constructor Details
-
HpackDecoder
public HpackDecoder(int localMaxDynamicTableSize, int maxHeaderSize) - Parameters:
localMaxDynamicTableSize- The maximum allowed size of the local dynamic header field table.maxHeaderSize- The maximum allowed size of a headers block, expressed as total of all name and value characters, plus 32 per field
-
-
Method Details
-
getHpackContext
-
setLocalMaxDynamicTableSize
public void setLocalMaxDynamicTableSize(int localMaxdynamciTableSize) -
decode
public org.eclipse.jetty.http.MetaData decode(ByteBuffer buffer) throws HpackException.SessionException, HpackException.StreamException -
toASCIIString
-
toString
-