Class Generator
java.lang.Object
org.eclipse.jetty.http2.generator.Generator
-
Constructor Summary
ConstructorDescriptionGenerator
(ByteBufferPool bufferPool) Generator
(ByteBufferPool bufferPool, boolean useDirectByteBuffers, int maxHeaderBlockFragment) Generator
(ByteBufferPool bufferPool, int maxHeaderBlockFragment) -
Method Summary
Modifier and TypeMethodDescriptionint
control
(ByteBufferPool.Accumulator accumulator, Frame frame) int
data
(ByteBufferPool.Accumulator accumulator, DataFrame frame, int maxLength) void
setMaxFrameSize
(int maxFrameSize)
-
Constructor Details
-
Generator
-
Generator
-
Generator
public Generator(ByteBufferPool bufferPool, boolean useDirectByteBuffers, int maxHeaderBlockFragment)
-
-
Method Details
-
getByteBufferPool
-
getHpackEncoder
-
setMaxFrameSize
public void setMaxFrameSize(int maxFrameSize) -
control
- Throws:
HpackException
-
data
-