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

public Class GoAwayBodyParser

extends BodyParser
Class Inheritance
Imports
java.nio.ByteBuffer, org.eclipse.jetty.http3.frames.GoAwayFrame, org.eclipse.jetty.http3.internal.VarLenInt

Field Summary

Modifier and TypeField and Description
private final VarLenInt

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
onGoAway(long id)

public BodyParser.Result
parse(ByteBuffer buffer)

Implements abstract org.eclipse.jetty.http3.parser.BodyParser.parse.

Parses the frame body bytes in the given buffer.

Inherited from org.eclipse.jetty.http3.parser.BodyParser:
emptyBodygetBodyLengthgetParserListenernotifyGoAwaynotifySessionFailurenotifySettingsnotifyStreamFailuresessionFailure

Field Detail

varLenIntback to summary
private final VarLenInt varLenInt

Constructor Detail

GoAwayBodyParserback to summary
public GoAwayBodyParser(HeaderParser headerParser, ParserListener listener)

Method Detail

onGoAwayback to summary
private void onGoAway(long id)
parseback to summary
public BodyParser.Result parse(ByteBuffer buffer)

Implements abstract org.eclipse.jetty.http3.parser.BodyParser.parse.

Doc from org.eclipse.jetty.http3.parser.BodyParser.parse.

Parses the frame body bytes in the given buffer.

Only the frame body bytes are consumed, therefore when this method returns, the buffer may contain unconsumed bytes, for example for other frames.

Annotations
@Override