Class HeaderGenerator
java.lang.Object
org.eclipse.jetty.http2.generator.HeaderGenerator
-
Constructor Summary
ConstructorsConstructorDescriptionHeaderGenerator(org.eclipse.jetty.io.ByteBufferPool bufferPool) HeaderGenerator(org.eclipse.jetty.io.ByteBufferPool bufferPool, boolean useDirectByteBuffers) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerate(org.eclipse.jetty.io.RetainableByteBuffer.Mutable accumulator, FrameType frameType, int capacity, int length, int flags, int streamId) org.eclipse.jetty.io.ByteBufferPoolintbooleanvoidsetMaxFrameSize(int maxFrameSize)
-
Constructor Details
-
HeaderGenerator
public HeaderGenerator(org.eclipse.jetty.io.ByteBufferPool bufferPool) -
HeaderGenerator
public HeaderGenerator(org.eclipse.jetty.io.ByteBufferPool bufferPool, boolean useDirectByteBuffers)
-
-
Method Details
-
getByteBufferPool
public org.eclipse.jetty.io.ByteBufferPool getByteBufferPool() -
isUseDirectByteBuffers
public boolean isUseDirectByteBuffers() -
generate
public void generate(org.eclipse.jetty.io.RetainableByteBuffer.Mutable accumulator, FrameType frameType, int capacity, int length, int flags, int streamId) -
getMaxFrameSize
public int getMaxFrameSize() -
setMaxFrameSize
public void setMaxFrameSize(int maxFrameSize)
-