public class HeadersBodyParser extends BodyParser
LOG
Constructor and Description |
---|
HeadersBodyParser(HeaderParser headerParser,
Parser.Listener listener,
HeaderBlockParser headerBlockParser) |
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 HeadersBodyParser(HeaderParser headerParser, Parser.Listener listener, HeaderBlockParser headerBlockParser)
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-2015 Webtide. All Rights Reserved.