Class Encoder
java.lang.Object
org.apache.pekko.http.shaded.com.twitter.hpack.Encoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeHeader(ByteStringOutputStream out, String name, String value, boolean sensitive) Encode the header field into the header block.intReturn the maximum table size.voidsetMaxHeaderTableSize(ByteStringOutputStream out, int maxHeaderTableSize) Set the maximum table size.
-
Constructor Details
-
Encoder
public Encoder(int maxHeaderTableSize) Creates a new encoder.
-
-
Method Details
-
encodeHeader
Encode the header field into the header block. -
setMaxHeaderTableSize
Set the maximum table size. -
getMaxHeaderTableSize
public int getMaxHeaderTableSize()Return the maximum table size.
-