public abstract class BodyParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BodyParser.Result |
| Modifier | Constructor and Description |
|---|---|
protected |
BodyParser(HeaderParser headerParser,
Parser.Listener listener) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
emptyBody() |
protected int |
getBodyLength() |
protected int |
getStreamId() |
protected boolean |
hasFlag(int bit) |
protected boolean |
isEndStream() |
protected boolean |
isPadding() |
protected BodyParser.Result |
notifyConnectionFailure(int error,
String reason) |
protected boolean |
notifyData(DataFrame frame) |
protected boolean |
notifyGoAway(GoAwayFrame frame) |
protected boolean |
notifyHeaders(HeadersFrame frame) |
protected boolean |
notifyPing(PingFrame frame) |
protected boolean |
notifyPriority(PriorityFrame frame) |
protected boolean |
notifyPushPromise(PushPromiseFrame frame) |
protected boolean |
notifyReset(ResetFrame frame) |
protected boolean |
notifySettings(SettingsFrame frame) |
protected boolean |
notifyWindowUpdate(WindowUpdateFrame frame) |
abstract BodyParser.Result |
parse(ByteBuffer buffer) |
protected static final Logger LOG
protected BodyParser(HeaderParser headerParser, Parser.Listener listener)
public abstract BodyParser.Result parse(ByteBuffer buffer)
protected boolean emptyBody()
protected boolean hasFlag(int bit)
protected boolean isPadding()
protected boolean isEndStream()
protected int getStreamId()
protected int getBodyLength()
protected boolean notifyData(DataFrame frame)
protected boolean notifyHeaders(HeadersFrame frame)
protected boolean notifyPriority(PriorityFrame frame)
protected boolean notifyReset(ResetFrame frame)
protected boolean notifySettings(SettingsFrame frame)
protected boolean notifyPushPromise(PushPromiseFrame frame)
protected boolean notifyPing(PingFrame frame)
protected boolean notifyGoAway(GoAwayFrame frame)
protected boolean notifyWindowUpdate(WindowUpdateFrame frame)
protected BodyParser.Result notifyConnectionFailure(int error, String reason)
Copyright © 1995-2014 Webtide. All Rights Reserved.