public class SettingsBodyParser extends BodyParser
| Constructor | Description |
|---|---|
SettingsBodyParser(HeaderParser headerParser,
Parser.Listener listener) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
emptyBody(java.nio.ByteBuffer buffer) |
|
protected boolean |
onSettings(java.util.Map<java.lang.Integer,java.lang.Integer> settings) |
|
boolean |
parse(java.nio.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. |
static SettingsFrame |
parseBody(java.nio.ByteBuffer buffer) |
|
protected void |
reset() |
connectionFailure, getBodyLength, getStreamId, hasFlag, isEndStream, isPadding, notifyData, notifyGoAway, notifyHeaders, notifyPing, notifyPriority, notifyPushPromise, notifyReset, notifySettings, notifyWindowUpdatepublic SettingsBodyParser(HeaderParser headerParser, Parser.Listener listener)
protected void reset()
protected void emptyBody(java.nio.ByteBuffer buffer)
emptyBody in class BodyParserpublic boolean parse(java.nio.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 parseprotected boolean onSettings(java.util.Map<java.lang.Integer,java.lang.Integer> settings)
public static SettingsFrame parseBody(java.nio.ByteBuffer buffer)
Copyright © 1995–2018 Webtide. All rights reserved.