Class Generator

java.lang.Object
org.eclipse.jetty.http2.generator.Generator

public class Generator extends Object
  • Constructor Details

    • Generator

      public Generator(ByteBufferPool byteBufferPool)
    • Generator

      public Generator(ByteBufferPool byteBufferPool, int maxDynamicTableSize, int maxHeaderBlockFragment)
    • Generator

      public Generator(ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, int maxDynamicTableSize, int maxHeaderBlockFragment)
  • Method Details

    • getByteBufferPool

      public ByteBufferPool getByteBufferPool()
    • setValidateHpackEncoding

      public void setValidateHpackEncoding(boolean validateEncoding)
    • setHeaderTableSize

      public void setHeaderTableSize(int headerTableSize)
    • setMaxFrameSize

      public void setMaxFrameSize(int maxFrameSize)
    • control

      public int control(ByteBufferPool.Lease lease, Frame frame) throws HpackException
      Throws:
      HpackException
    • data

      public int data(ByteBufferPool.Lease lease, DataFrame frame, int maxLength)
    • setMaxHeaderListSize

      public void setMaxHeaderListSize(int value)