public class DataBodyParser extends BodyParser
LOG| Constructor and Description |
|---|
DataBodyParser(HeaderParser headerParser,
Parser.Listener listener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
emptyBody(ByteBuffer buffer) |
boolean |
parse(ByteBuffer buffer)
Parses the body bytes in the given
buffer; only the body
bytes are consumed, therefore when this method returns, the buffer
may contain unconsumed bytes. |
connectionFailure, getBodyLength, getStreamId, hasFlag, isEndStream, isPadding, notifyData, notifyGoAway, notifyHeaders, notifyPing, notifyPriority, notifyPushPromise, notifyReset, notifySettings, notifyWindowUpdatepublic DataBodyParser(HeaderParser headerParser, Parser.Listener listener)
protected void emptyBody(ByteBuffer buffer)
emptyBody in class BodyParserpublic boolean parse(ByteBuffer buffer)
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.
parse in class BodyParserbuffer - the buffer to parseCopyright © 1995–2017 Webtide. All rights reserved.