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 byteBufferPool)
     
    Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, int maxHeaderBlockFragment)
     
    Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, int maxTableCapacity, int maxHeaderBlockFragment)
    Deprecated.
    Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, int maxHeaderBlockFragment)
     
    Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, int maxTableCapacity, int maxHeaderBlockFragment)
    Deprecated.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    control(org.eclipse.jetty.io.ByteBufferPool.Lease lease, Frame frame)
     
    int
    data(org.eclipse.jetty.io.ByteBufferPool.Lease lease, DataFrame frame, int maxLength)
     
    org.eclipse.jetty.io.ByteBufferPool
     
    org.eclipse.jetty.http2.hpack.HpackEncoder
     
    void
    setHeaderTableSize(int maxTableSize)
    Deprecated.
    void
    setMaxFrameSize(int maxFrameSize)
     
    void
    Deprecated.
    void
    setValidateHpackEncoding(boolean validateEncoding)
    Deprecated.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Generator

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

      @Deprecated public Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, int maxTableCapacity, int maxHeaderBlockFragment)
      Deprecated.
    • Generator

      @Deprecated public Generator(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, int maxTableCapacity, int maxHeaderBlockFragment)
      Deprecated.
    • Generator

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

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

    • getByteBufferPool

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

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

      @Deprecated public void setValidateHpackEncoding(boolean validateEncoding)
      Deprecated.
    • setHeaderTableSize

      @Deprecated public void setHeaderTableSize(int maxTableSize)
      Deprecated.
    • 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

      @Deprecated public void setMaxHeaderListSize(int value)
      Deprecated.