Package org.eclipse.jetty.http3.parser
Class MaxPushIdBodyParser
java.lang.Object
org.eclipse.jetty.http3.parser.BodyParser
org.eclipse.jetty.http3.parser.MaxPushIdBodyParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.http3.parser.BodyParser
BodyParser.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(ByteBuffer buffer) Parses the frame body bytes in the givenbuffer
.Methods inherited from class org.eclipse.jetty.http3.parser.BodyParser
emptyBody, getBodyLength, getParserListener, notifyGoAway, notifySessionFailure, notifySettings, notifyStreamFailure, sessionFailure
-
Constructor Details
-
MaxPushIdBodyParser
-
-
Method Details
-
parse
Description copied from class:BodyParser
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.
- Specified by:
parse
in classBodyParser
- Parameters:
buffer
- the buffer to parse- Returns:
- true if all the frame body bytes were parsed; false if not enough frame body bytes were present in the buffer
-