Class Generator

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

public class Generator extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generator(org.eclipse.jetty.io.ByteBufferPool bufferPool)
     
    Generator(org.eclipse.jetty.io.ByteBufferPool bufferPool, boolean useDirectByteBuffers, int maxHeaderBlockFragment)
     
    Generator(org.eclipse.jetty.io.ByteBufferPool bufferPool, int maxHeaderBlockFragment)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    control(org.eclipse.jetty.io.RetainableByteBuffer.Mutable accumulator, Frame frame)
     
    int
    data(org.eclipse.jetty.io.RetainableByteBuffer.Mutable accumulator, DataFrame frame, int maxLength)
     
    org.eclipse.jetty.io.ByteBufferPool
     
    org.eclipse.jetty.http2.hpack.HpackEncoder
     
    int
     
    void
    setMaxFrameSize(int maxFrameSize)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.RetainableByteBuffer.Mutable 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.RetainableByteBuffer.Mutable accumulator, DataFrame frame, int maxLength)