Class Generator


  • public class Generator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Generator​(org.eclipse.jetty.io.ByteBufferPool byteBufferPool)  
      Generator​(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, boolean useDirectByteBuffers, int maxDynamicTableSize, int maxHeaderBlockFragment)  
      Generator​(org.eclipse.jetty.io.ByteBufferPool byteBufferPool, int maxDynamicTableSize, int maxHeaderBlockFragment)  
    • Constructor Detail

      • 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 Detail

      • 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)