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

public class Generator extends Object
  • Constructor Details

    • Generator

      public Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool)
    • Generator

      public Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, int maxDynamicTableSize, int maxHeaderBlockFragment)
    • Generator

      public Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, int maxDynamicTableSize, int maxHeaderBlockFragment)
  • Method Details

    • getByteBufferPool

      public org.eclipse.jetty.io.ByteBufferPool getByteBufferPool()
    • setValidateHpackEncoding

      public void setValidateHpackEncoding(boolean validateEncoding)
    • setHeaderTableSize

      public void setHeaderTableSize(int headerTableSize)
    • setMaxFrameSize

      public void setMaxFrameSize(int maxFrameSize)
    • control

      public int control(org.eclipse.jetty.io.ByteBufferPool.Lease lease, Frame frame) throws org.eclipse.jetty.http2.hpack.HpackException
      Throws:
      org.eclipse.jetty.http2.hpack.HpackException
    • data

      public int data(org.eclipse.jetty.io.ByteBufferPool.Lease lease, DataFrame frame, int maxLength)
    • setMaxHeaderListSize

      public void setMaxHeaderListSize(int value)