Class HeaderGenerator

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

public class HeaderGenerator extends Object
  • Constructor Details

    • HeaderGenerator

      public HeaderGenerator(ByteBufferPool bufferPool)
    • HeaderGenerator

      public HeaderGenerator(ByteBufferPool bufferPool, boolean useDirectByteBuffers)
  • Method Details

    • getByteBufferPool

      public ByteBufferPool getByteBufferPool()
    • isUseDirectByteBuffers

      public boolean isUseDirectByteBuffers()
    • generate

      public RetainableByteBuffer generate(FrameType frameType, int capacity, int length, int flags, int streamId)
    • getMaxFrameSize

      public int getMaxFrameSize()
    • setMaxFrameSize

      public void setMaxFrameSize(int maxFrameSize)