Top Fields Constructors Methods
org.eclipse.jetty.http3.generator

public Class GoAwayGenerator

extends FrameGenerator
Class Inheritance
Imports
java.nio.ByteBuffer, java.util.function.Consumer, org.eclipse.jetty.http3.frames.Frame, .FrameType, .GoAwayFrame, org.eclipse.jetty.http3.internal.VarLenInt, org.eclipse.jetty.io.ByteBufferPool, .RetainableByteBuffer, org.eclipse.jetty.util.BufferUtil

Field Summary

Modifier and TypeField and Description
private final boolean

Constructor Summary

AccessConstructor and Description
public
GoAwayGenerator(ByteBufferPool bufferPool, boolean useDirectByteBuffers)

Method Summary

Modifier and TypeMethod and Description
public int
private int
Inherited from org.eclipse.jetty.http3.generator.FrameGenerator:
getByteBufferPool

Field Detail

useDirectByteBuffersback to summary
private final boolean useDirectByteBuffers

Constructor Detail

GoAwayGeneratorback to summary
public GoAwayGenerator(ByteBufferPool bufferPool, boolean useDirectByteBuffers)

Method Detail

generateback to summary
public int generate(ByteBufferPool.Accumulator accumulator, long streamId, Frame frame, Consumer<Throwable> fail)

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

Annotations
@Override
generateGoAwayFrameback to summary
private int generateGoAwayFrame(ByteBufferPool.Accumulator accumulator, GoAwayFrame frame)