Class FrameGenerator
java.lang.Object
org.eclipse.jetty.http2.generator.FrameGenerator
- Direct Known Subclasses:
GoAwayGenerator
,HeadersGenerator
,NoOpGenerator
,PingGenerator
,PrefaceGenerator
,PriorityGenerator
,PushPromiseGenerator
,ResetGenerator
,SettingsGenerator
,WindowUpdateGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ByteBuffer
encode
(HpackEncoder encoder, ByteBufferPool.Lease lease, MetaData metaData, int maxFrameSize) abstract int
generate
(ByteBufferPool.Lease lease, Frame frame) protected ByteBuffer
generateHeader
(ByteBufferPool.Lease lease, FrameType frameType, int length, int flags, int streamId) int
boolean
-
Constructor Details
-
FrameGenerator
-
-
Method Details
-
generate
- Throws:
HpackException
-
generateHeader
protected ByteBuffer generateHeader(ByteBufferPool.Lease lease, FrameType frameType, int length, int flags, int streamId) -
getMaxFrameSize
public int getMaxFrameSize() -
isUseDirectByteBuffers
public boolean isUseDirectByteBuffers() -
encode
protected ByteBuffer encode(HpackEncoder encoder, ByteBufferPool.Lease lease, MetaData metaData, int maxFrameSize) throws HpackException - Throws:
HpackException
-