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