Class MessageParser
java.lang.Object
org.eclipse.jetty.http3.parser.MessageParser
The HTTP/3 protocol parser.
This parser makes use of the HeaderParser and of
BodyParsers to parse HTTP/3 frames.
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidinit(UnaryOperator<ParserListener> wrapper) parse(ByteBuffer buffer, boolean last) Parses the givenbufferbytes and emit events to aParserListener. 
- 
Constructor Details
- 
MessageParser
 
 - 
 - 
Method Details
- 
init
 - 
getListener
 - 
parse
Parses the given
bufferbytes and emit events to aParserListener.Only the bytes of one frame are consumed, therefore when this method returns, the buffer may contain unconsumed bytes, for example for other frames.
- Parameters:
 buffer- the buffer to parse- Returns:
 - the result of the parsing
 
 
 -