Class PushPromiseGenerator
java.lang.Object
org.eclipse.jetty.http2.generator.FrameGenerator
org.eclipse.jetty.http2.generator.PushPromiseGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
generate
(ByteBufferPool.Accumulator accumulator, Frame frame) int
generatePushPromise
(ByteBufferPool.Accumulator accumulator, int streamId, int promisedStreamId, MetaData metaData) Methods inherited from class org.eclipse.jetty.http2.generator.FrameGenerator
encode, generateHeader, getMaxFrameSize, isUseDirectByteBuffers
-
Constructor Details
-
PushPromiseGenerator
-
-
Method Details
-
generate
- Specified by:
generate
in classFrameGenerator
- Throws:
HpackException
-
generatePushPromise
public int generatePushPromise(ByteBufferPool.Accumulator accumulator, int streamId, int promisedStreamId, MetaData metaData) throws HpackException - Throws:
HpackException
-