Class HeadersGenerator
- java.lang.Object
-
- org.eclipse.jetty.http2.generator.FrameGenerator
-
- org.eclipse.jetty.http2.generator.HeadersGenerator
-
public class HeadersGenerator extends FrameGenerator
-
-
Constructor Summary
Constructors Constructor Description HeadersGenerator(HeaderGenerator headerGenerator, HpackEncoder encoder)
HeadersGenerator(HeaderGenerator headerGenerator, HpackEncoder encoder, int maxHeaderBlockFragment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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
-
-
-
-
Constructor Detail
-
HeadersGenerator
public HeadersGenerator(HeaderGenerator headerGenerator, HpackEncoder encoder)
-
HeadersGenerator
public HeadersGenerator(HeaderGenerator headerGenerator, HpackEncoder encoder, int maxHeaderBlockFragment)
-
-
Method Detail
-
generate
public int generate(ByteBufferPool.Lease lease, Frame frame) throws HpackException
- 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
-
-