Top Constructors Methods
org.eclipse.jetty.http2.generator

public Class GoAwayGenerator

extends FrameGenerator
Class Inheritance
Imports
java.nio.ByteBuffer, java.util.Arrays, org.eclipse.jetty.http2.Flags, org.eclipse.jetty.http2.frames.Frame, .FrameType, .GoAwayFrame, org.eclipse.jetty.io.ByteBufferPool, .RetainableByteBuffer, org.eclipse.jetty.util.BufferUtil

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public int
generateGoAway(ByteBufferPool.Accumulator accumulator, int lastStreamId, int error, byte[] payload)

Inherited from org.eclipse.jetty.http2.generator.FrameGenerator:
encodegenerateHeadergetMaxFrameSizeisUseDirectByteBuffers

Constructor Detail

GoAwayGeneratorback to summary
public GoAwayGenerator(HeaderGenerator headerGenerator)

Method Detail

generateback to summary
public int generate(ByteBufferPool.Accumulator accumulator, Frame frame)

Implements abstract org.eclipse.jetty.http2.generator.FrameGenerator.generate.

Annotations
@Override
generateGoAwayback to summary
public int generateGoAway(ByteBufferPool.Accumulator accumulator, int lastStreamId, int error, byte[] payload)