| Constructor and Description |
|---|
Http2InboundContentListener(int streamId,
io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2Connection http2Connection,
String inboundType) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAdd(io.netty.handler.codec.http.HttpContent httpContent)
Updates the flow controller as soon as the content is received from the source.
|
void |
onRemove(io.netty.handler.codec.http.HttpContent httpContent)
Once the content is removed, update the flow controller with the number of consumed bytes.
|
void |
resumeReadInterest()
Disable app consume flag and consume bytes so that window updates will be issued to the peer.
|
public Http2InboundContentListener(int streamId,
io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http2.Http2Connection http2Connection,
String inboundType)
public void onAdd(io.netty.handler.codec.http.HttpContent httpContent)
public void onRemove(io.netty.handler.codec.http.HttpContent httpContent)
public void resumeReadInterest()
resumeReadInterest in interface ListenerCopyright © 2023 WSO2. All rights reserved.