HeaderParser

<p> The parser for the frame header of HTTP/2 frames. </p>

@see Parser

Members

Functions

getFrameType
int getFrameType()
Undocumented in source. Be warned that the author may not have intended to support it.
getLength
int getLength()
Undocumented in source. Be warned that the author may not have intended to support it.
getStreamId
int getStreamId()
Undocumented in source. Be warned that the author may not have intended to support it.
hasFlag
bool hasFlag(int bit)
Undocumented in source. Be warned that the author may not have intended to support it.
parse
bool parse(ByteBuffer buffer)

<p> Parses the header bytes in the given {@code buffer}; only the header bytes are consumed, therefore when this method returns, the buffer may contain unconsumed bytes. </p>

reset
void reset()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta