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, notifyWindowUpdate
public DataBodyParser(HeaderParser headerParser, Parser.Listener listener)
protected void emptyBody(ByteBuffer buffer)
emptyBody
in class BodyParser
public boolean parse(ByteBuffer buffer)
BodyParser
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.
parse
in class BodyParser
buffer
- the buffer to parseCopyright © 1995-2016 Webtide. All Rights Reserved.