Class PriorityGenerator
- java.lang.Object
-
- org.eclipse.jetty.http2.generator.FrameGenerator
-
- org.eclipse.jetty.http2.generator.PriorityGenerator
-
public class PriorityGenerator extends FrameGenerator
-
-
Constructor Summary
Constructors Constructor Description PriorityGenerator(HeaderGenerator headerGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
generate(ByteBufferPool.Lease lease, Frame frame)
int
generatePriority(ByteBufferPool.Lease lease, int streamId, int parentStreamId, int weight, boolean exclusive)
void
generatePriorityBody(java.nio.ByteBuffer header, int streamId, int parentStreamId, int weight, boolean exclusive)
-
Methods inherited from class org.eclipse.jetty.http2.generator.FrameGenerator
encode, generateHeader, getMaxFrameSize
-
-
-
-
Constructor Detail
-
PriorityGenerator
public PriorityGenerator(HeaderGenerator headerGenerator)
-
-
Method Detail
-
generate
public int generate(ByteBufferPool.Lease lease, Frame frame)
- Specified by:
generate
in classFrameGenerator
-
generatePriority
public int generatePriority(ByteBufferPool.Lease lease, int streamId, int parentStreamId, int weight, boolean exclusive)
-
generatePriorityBody
public void generatePriorityBody(java.nio.ByteBuffer header, int streamId, int parentStreamId, int weight, boolean exclusive)
-
-