Class Encoder
java.lang.Object
akka.http.shaded.com.twitter.hpack.Encoder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeHeader
(OutputStream out, String name, String value, boolean sensitive) Encode the header field into the header block.int
Return the maximum table size.void
setMaxHeaderTableSize
(OutputStream out, int maxHeaderTableSize) Set the maximum table size.
-
Constructor Details
-
Encoder
public Encoder(int maxHeaderTableSize) Creates a new encoder.
-
-
Method Details
-
encodeHeader
public void encodeHeader(OutputStream out, String name, String value, boolean sensitive) throws IOException Encode the header field into the header block.- Throws:
IOException
-
setMaxHeaderTableSize
Set the maximum table size.- Throws:
IOException
-
getMaxHeaderTableSize
public int getMaxHeaderTableSize()Return the maximum table size.
-