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 RetainableByteBuffer
encode
(HpackEncoder encoder, MetaData metaData, int maxFrameSize) abstract int
generate
(ByteBufferPool.Accumulator accumulator, Frame frame) protected RetainableByteBuffer
generateHeader
(FrameType frameType, int length, int flags, int streamId) int
boolean
-
Constructor Details
-
FrameGenerator
-
-
Method Details
-
generate
public abstract int generate(ByteBufferPool.Accumulator accumulator, Frame frame) throws HpackException - Throws:
HpackException
-
generateHeader
protected RetainableByteBuffer generateHeader(FrameType frameType, int length, int flags, int streamId) -
getMaxFrameSize
public int getMaxFrameSize() -
isUseDirectByteBuffers
public boolean isUseDirectByteBuffers() -
encode
protected RetainableByteBuffer encode(HpackEncoder encoder, MetaData metaData, int maxFrameSize) throws HpackException - Throws:
HpackException
-