Class Generator

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

public class Generator extends Object
  • Constructor Details

    • Generator

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

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

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

    • getByteBufferPool

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

      public org.eclipse.jetty.http2.hpack.HpackEncoder getHpackEncoder()
    • getMaxFrameSize

      public int getMaxFrameSize()
    • setMaxFrameSize

      public void setMaxFrameSize(int maxFrameSize)
    • control

      public int control(org.eclipse.jetty.io.ByteBufferPool.Accumulator accumulator, 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.Accumulator accumulator, DataFrame frame, int maxLength)