The base parser for the frame body of HTTP/2 frames.
Subclasses implement parse(ByteBuffer) to parse
the frame specific body.
Parser
| Modifier and Type | Field and Description |
|---|---|
| private final HeaderParser | |
| private final Parser. | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | |
| protected void | |
| protected int | |
| protected int | |
| protected int | |
| protected boolean | |
| protected boolean | |
| protected boolean | |
| private void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| private void | |
| protected void | |
| public abstract boolean | Returns: true if the whole body bytes were parsed, false if not enough body bytes were present in the bufferthe buffer to parse buffer)Parses the body bytes in the given |
| protected boolean | |
| protected boolean |
| headerParser | back to summary |
|---|---|
| private final HeaderParser headerParser | |
| listener | back to summary |
|---|---|
| private final Parser. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| BodyParser | back to summary |
|---|---|
| protected BodyParser(HeaderParser headerParser, Parser. | |
| connectionFailure | back to summary |
|---|---|
| protected boolean connectionFailure(ByteBuffer buffer, int error, String reason) | |
| emptyBody | back to summary |
|---|---|
| protected void emptyBody(ByteBuffer buffer) | |
| getBodyLength | back to summary |
|---|---|
| protected int getBodyLength() | |
| getFrameType | back to summary |
|---|---|
| protected int getFrameType() | |
| getStreamId | back to summary |
|---|---|
| protected int getStreamId() | |
| hasFlag | back to summary |
|---|---|
| protected boolean hasFlag(int bit) | |
| isEndStream | back to summary |
|---|---|
| protected boolean isEndStream() | |
| isPadding | back to summary |
|---|---|
| protected boolean isPadding() | |
| notifyConnectionFailure | back to summary |
|---|---|
| private void notifyConnectionFailure(int error, String reason) | |
| notifyData | back to summary |
|---|---|
| protected void notifyData(DataFrame frame) | |
| notifyGoAway | back to summary |
|---|---|
| protected void notifyGoAway(GoAwayFrame frame) | |
| notifyHeaders | back to summary |
|---|---|
| protected void notifyHeaders(HeadersFrame frame) | |
| notifyPing | back to summary |
|---|---|
| protected void notifyPing(PingFrame frame) | |
| notifyPriority | back to summary |
|---|---|
| protected void notifyPriority(PriorityFrame frame) | |
| notifyPushPromise | back to summary |
|---|---|
| protected void notifyPushPromise(PushPromiseFrame frame) | |
| notifyReset | back to summary |
|---|---|
| protected void notifyReset(ResetFrame frame) | |
| notifySettings | back to summary |
|---|---|
| protected void notifySettings(SettingsFrame frame) | |
| notifyStreamFailure | back to summary |
|---|---|
| private void notifyStreamFailure(int streamId, int error, String reason) | |
| notifyWindowUpdate | back to summary |
|---|---|
| protected void notifyWindowUpdate(WindowUpdateFrame frame) | |
| parse | back to summary |
|---|---|
| public abstract boolean parse(ByteBuffer buffer) Parses the body bytes in the given
| |
| rateControlOnEvent | back to summary |
|---|---|
| protected boolean rateControlOnEvent(Object o) | |
| streamFailure | back to summary |
|---|---|
| protected boolean streamFailure(int streamId, int error, String reason) | |