public interface SpdyFrameDecoderDelegate
SpdyFrameDecoder
.限定符和类型 | 方法和说明 |
---|---|
void |
readDataFrame(int streamId,
boolean last,
ByteBuf data)
Called when a DATA frame is received.
|
void |
readFrameError(java.lang.String message)
Called when an unrecoverable session error has occurred.
|
void |
readGoAwayFrame(int lastGoodStreamId,
int statusCode)
Called when a GOAWAY frame is received.
|
void |
readHeaderBlock(ByteBuf headerBlock)
Called when the header block within a SYN_STREAM, SYN_REPLY, or HEADERS frame is received.
|
void |
readHeaderBlockEnd()
Called when an entire header block has been received.
|
void |
readHeadersFrame(int streamId,
boolean last)
Called when a HEADERS frame is received.
|
void |
readPingFrame(int id)
Called when a PING frame is received.
|
void |
readRstStreamFrame(int streamId,
int statusCode)
Called when a RST_STREAM frame is received.
|
void |
readSetting(int id,
int value,
boolean persistValue,
boolean persisted)
Called when an individual setting within a SETTINGS frame is received.
|
void |
readSettingsEnd()
Called when the entire SETTINGS frame has been received.
|
void |
readSettingsFrame(boolean clearPersisted)
Called when a SETTINGS frame is received.
|
void |
readSynReplyFrame(int streamId,
boolean last)
Called when a SYN_REPLY frame is received.
|
void |
readSynStreamFrame(int streamId,
int associatedToStreamId,
byte priority,
boolean last,
boolean unidirectional)
Called when a SYN_STREAM frame is received.
|
void |
readWindowUpdateFrame(int streamId,
int deltaWindowSize)
Called when a WINDOW_UPDATE frame is received.
|
void readDataFrame(int streamId, boolean last, ByteBuf data)
void readSynStreamFrame(int streamId, int associatedToStreamId, byte priority, boolean last, boolean unidirectional)
void readSynReplyFrame(int streamId, boolean last)
void readRstStreamFrame(int streamId, int statusCode)
void readSettingsFrame(boolean clearPersisted)
void readSetting(int id, int value, boolean persistValue, boolean persisted)
void readSettingsEnd()
void readPingFrame(int id)
void readGoAwayFrame(int lastGoodStreamId, int statusCode)
void readHeadersFrame(int streamId, boolean last)
void readWindowUpdateFrame(int streamId, int deltaWindowSize)
void readHeaderBlock(ByteBuf headerBlock)
void readHeaderBlockEnd()
void readFrameError(java.lang.String message)