Class DataBodyParser
java.lang.Object
org.eclipse.jetty.http2.parser.BodyParser
org.eclipse.jetty.http2.parser.DataBodyParser
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidemptyBody(ByteBuffer buffer) booleanparse(ByteBuffer buffer) Parses the body bytes in the givenbuffer; only the body bytes are consumed, therefore when this method returns, the buffer may contain unconsumed bytes.Methods inherited from class BodyParserconnectionFailure, getBodyLength, getFrameType, getStreamId, hasFlag, isEndStream, isPadding, notifyData, notifyGoAway, notifyHeaders, notifyPing, notifyPriority, notifyPushPromise, notifyReset, notifySettings, notifyWindowUpdate, rateControlOnEvent, streamFailure
- 
Constructor Details- 
DataBodyParser
 
- 
- 
Method Details- 
emptyBody- Overrides:
- emptyBodyin class- BodyParser
 
- 
parseDescription copied from class:BodyParserParses the body bytes in the given buffer; only the body bytes are consumed, therefore when this method returns, the buffer may contain unconsumed bytes.- Specified by:
- parsein class- BodyParser
- Parameters:
- buffer- the buffer to parse
- Returns:
- true if the whole body bytes were parsed, false if not enough body bytes were present in the buffer
 
 
-