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.Lease lease, Frame frame) int
generatePushPromise
(ByteBufferPool.Lease lease, 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.Lease lease, int streamId, int promisedStreamId, MetaData metaData) throws HpackException - Throws:
HpackException
-