Class Encoder

java.lang.Object
akka.http.shaded.com.twitter.hpack.Encoder

public final class Encoder extends Object
  • 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

      public void setMaxHeaderTableSize(OutputStream out, int maxHeaderTableSize) throws IOException
      Set the maximum table size.
      Throws:
      IOException
    • getMaxHeaderTableSize

      public int getMaxHeaderTableSize()
      Return the maximum table size.