| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final int | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | onDataRead(ChannelHandlerContext
the context from the handler where the frame was read. ctx, int the subject stream for the frame. streamId, Buffer payload buffer for the frame. This buffer will be closed by the codec when the method returns
(the buffer will be inaccessible after the method call). data, int additional bytes that should be added to obscure the true content size. Must be between 0 and
256 (inclusive). padding, boolean Indicates whether this is the last frame to be sent from the remote endpoint for this stream. endOfStream)Overrides io. Implements io. DATA frame.
|
| public void | onHeadersRead(ChannelHandlerContext
the context from the handler where the frame was read. ctx, int the subject stream for the frame. streamId, Http2Headers the received headers. headers, int additional bytes that should be added to obscure the true content size. Must be between 0 and
256 (inclusive). padding, boolean Indicates whether this is the last frame to be sent from the remote endpoint
for this stream. endStream)Overrides io. Implements io. HEADERS frame.
|
| public void | onHeadersRead(ChannelHandlerContext
the context from the handler where the frame was read. ctx, int the subject stream for the frame. streamId, Http2Headers the received headers. headers, int the stream on which this stream depends, or 0 if dependent on the
connection. streamDependency, short the new weight for the stream. weight, boolean whether or not the stream should be the exclusive dependent of its parent. exclusive, int additional bytes that should be added to obscure the true content size. Must be between 0 and
256 (inclusive). padding, boolean Indicates whether this is the last frame to be sent from the remote endpoint
for this stream. endStream)Overrides io. Implements io. HEADERS frame with priority information specified.
|
| emptyDataFrames | back to summary |
|---|---|
| private int emptyDataFrames | |
| maxConsecutiveEmptyFrames | back to summary |
|---|---|
| private final int maxConsecutiveEmptyFrames | |
| violationDetected | back to summary |
|---|---|
| private boolean violationDetected | |
| Http2EmptyDataFrameListener | back to summary |
|---|---|
| pack-priv Http2EmptyDataFrameListener(Http2FrameListener listener, int maxConsecutiveEmptyFrames) | |
| onDataRead | back to summary |
|---|---|
| public int onDataRead(ChannelHandlerContext ctx, int streamId, Buffer data, int padding, boolean endOfStream) throws Http2Exception Overrides io. Implements io. Doc from io. Handles an inbound
| |
| onHeadersRead | back to summary |
|---|---|
| public void onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream) throws Http2Exception Overrides io. Implements io. Doc from io. Handles an inbound
Only one of the following methods will be called for each
To say it another way; the
| |
| onHeadersRead | back to summary |
|---|---|
| public void onHeadersRead(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream) throws Http2Exception Overrides io. Implements io. Doc from io. Handles an inbound
Only one of the following methods will be called for each
To say it another way; the
| |