Top Constructors Methods
org.eclipse.jetty.http2.generator

public Class PriorityGenerator

extends FrameGenerator
Class Inheritance
Imports
java.nio.ByteBuffer, org.eclipse.jetty.http2.Flags, org.eclipse.jetty.http2.frames.Frame, .FrameType, .PriorityFrame, org.eclipse.jetty.io.ByteBufferPool, .RetainableByteBuffer, org.eclipse.jetty.util.BufferUtil

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public int
generatePriority(ByteBufferPool.Accumulator accumulator, int streamId, int parentStreamId, int weight, boolean exclusive)

public void
generatePriorityBody(ByteBuffer header, int streamId, int parentStreamId, int weight, boolean exclusive)

Inherited from org.eclipse.jetty.http2.generator.FrameGenerator:
encodegenerateHeadergetMaxFrameSizeisUseDirectByteBuffers

Constructor Detail

PriorityGeneratorback to summary
public PriorityGenerator(HeaderGenerator headerGenerator)

Method Detail

generateback to summary
public int generate(ByteBufferPool.Accumulator accumulator, Frame frame)

Implements abstract org.eclipse.jetty.http2.generator.FrameGenerator.generate.

Annotations
@Override
generatePriorityback to summary
public int generatePriority(ByteBufferPool.Accumulator accumulator, int streamId, int parentStreamId, int weight, boolean exclusive)
generatePriorityBodyback to summary
public void generatePriorityBody(ByteBuffer header, int streamId, int parentStreamId, int weight, boolean exclusive)