Class HeadersGenerator
java.lang.Object
org.eclipse.jetty.http2.generator.FrameGenerator
org.eclipse.jetty.http2.generator.HeadersGenerator
-
Constructor Summary
ConstructorDescriptionHeadersGenerator
(HeaderGenerator headerGenerator, HpackEncoder encoder) HeadersGenerator
(HeaderGenerator headerGenerator, HpackEncoder encoder, int maxHeaderBlockFragment) -
Method Summary
Modifier and TypeMethodDescriptionint
generate
(ByteBufferPool.Lease lease, Frame frame) int
generateHeaders
(ByteBufferPool.Lease lease, int streamId, MetaData metaData, PriorityFrame priority, boolean endStream) Methods inherited from class org.eclipse.jetty.http2.generator.FrameGenerator
encode, generateHeader, getMaxFrameSize, isUseDirectByteBuffers
-
Constructor Details
-
HeadersGenerator
-
HeadersGenerator
public HeadersGenerator(HeaderGenerator headerGenerator, HpackEncoder encoder, int maxHeaderBlockFragment)
-
-
Method Details
-
generate
- Specified by:
generate
in classFrameGenerator
- Throws:
HpackException
-
generateHeaders
public int generateHeaders(ByteBufferPool.Lease lease, int streamId, MetaData metaData, PriorityFrame priority, boolean endStream) throws HpackException - Throws:
HpackException
-