Class PingGenerator
- java.lang.Object
-
- org.eclipse.jetty.http2.generator.FrameGenerator
-
- org.eclipse.jetty.http2.generator.PingGenerator
-
public class PingGenerator extends FrameGenerator
-
-
Constructor Summary
Constructors Constructor Description PingGenerator(HeaderGenerator headerGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
generate(ByteBufferPool.Lease lease, Frame frame)
int
generatePing(ByteBufferPool.Lease lease, byte[] payload, boolean reply)
-
Methods inherited from class org.eclipse.jetty.http2.generator.FrameGenerator
encode, generateHeader, getMaxFrameSize
-
-
-
-
Constructor Detail
-
PingGenerator
public PingGenerator(HeaderGenerator headerGenerator)
-
-
Method Detail
-
generate
public int generate(ByteBufferPool.Lease lease, Frame frame)
- Specified by:
generate
in classFrameGenerator
-
generatePing
public int generatePing(ByteBufferPool.Lease lease, byte[] payload, boolean reply)
-
-