Class HeaderGenerator
java.lang.Object
org.eclipse.jetty.http2.generator.HeaderGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(ByteBufferPool.Lease lease, FrameType frameType, int capacity, int length, int flags, int streamId) int
boolean
void
setMaxFrameSize
(int maxFrameSize)
-
Constructor Details
-
HeaderGenerator
public HeaderGenerator() -
HeaderGenerator
public HeaderGenerator(boolean useDirectByteBuffers)
-
-
Method Details
-
isUseDirectByteBuffers
public boolean isUseDirectByteBuffers() -
generate
public ByteBuffer generate(ByteBufferPool.Lease lease, FrameType frameType, int capacity, int length, int flags, int streamId) -
getMaxFrameSize
public int getMaxFrameSize() -
setMaxFrameSize
public void setMaxFrameSize(int maxFrameSize)
-