java.lang.Object
org.eclipse.jetty.http2.generator.Generator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintorg.eclipse.jetty.io.ByteBufferPoolorg.eclipse.jetty.http2.hpack.HpackEncodervoidsetMaxFrameSize(int maxFrameSize)
-
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() -
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)
-