Http2FrameReader that logs all inbound frames before calling
back the listener.
| Modifier and Type | Field and Description |
|---|---|
| private final Http2FrameLogger | |
| private final Http2FrameReader |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements io. |
| public Http2FrameReader. | configuration()
Implements io. Http2FrameReader
|
| public void | readFrame(ChannelHandlerContext ctx, Buffer input, final Http2FrameListener listener)
Implements io. |
| logger | back to summary |
|---|---|
| private final Http2FrameLogger logger | |
| reader | back to summary |
|---|---|
| private final Http2FrameReader reader | |
| Http2InboundFrameLogger | back to summary |
|---|---|
| public Http2InboundFrameLogger(Http2FrameReader reader, Http2FrameLogger logger) | |
| close | back to summary |
|---|---|
| public void close() Implements io. Doc from io. Closes this reader and frees any allocated resources.
| |
| configuration | back to summary |
|---|---|
| public Http2FrameReader. Implements io. Doc from io. Get the configuration related elements for this
| |
| readFrame | back to summary |
|---|---|
| public void readFrame(ChannelHandlerContext ctx, Buffer input, final Http2FrameListener listener) throws Http2Exception Implements io. Doc from io. Attempts to read the next frame from the input buffer. If enough data is available to fully read the frame, notifies the listener of the read frame.
| |