Class Encoder
- java.lang.Object
-
- akka.http.shaded.com.twitter.hpack.Encoder
-
public final class Encoder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Encoder(int maxHeaderTableSize)Creates a new encoder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeHeader(java.io.OutputStream out, java.lang.String name, java.lang.String value, boolean sensitive)Encode the header field into the header block.intgetMaxHeaderTableSize()Return the maximum table size.voidsetMaxHeaderTableSize(java.io.OutputStream out, int maxHeaderTableSize)Set the maximum table size.
-
-
-
Method Detail
-
encodeHeader
public void encodeHeader(java.io.OutputStream out, java.lang.String name, java.lang.String value, boolean sensitive) throws java.io.IOExceptionEncode the header field into the header block.- Throws:
java.io.IOException
-
setMaxHeaderTableSize
public void setMaxHeaderTableSize(java.io.OutputStream out, int maxHeaderTableSize) throws java.io.IOExceptionSet the maximum table size.- Throws:
java.io.IOException
-
getMaxHeaderTableSize
public int getMaxHeaderTableSize()
Return the maximum table size.
-
-