Package | Description |
---|---|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Field and Description |
---|---|
private StreamByteDistributor.Writer |
DefaultHttp2RemoteFlowController.WritabilityMonitor.writer |
Modifier and Type | Method and Description |
---|---|
boolean |
StreamByteDistributor.distribute(int maxBytes,
StreamByteDistributor.Writer writer)
Distributes up to
maxBytes to those streams containing streamable bytes and
iterates across those streams to write the appropriate bytes. |
boolean |
WeightedFairQueueByteDistributor.distribute(int maxBytes,
StreamByteDistributor.Writer writer) |
boolean |
UniformStreamByteDistributor.distribute(int maxBytes,
StreamByteDistributor.Writer writer) |
private int |
WeightedFairQueueByteDistributor.distribute(int maxBytes,
StreamByteDistributor.Writer writer,
WeightedFairQueueByteDistributor.State state) |
private int |
WeightedFairQueueByteDistributor.distributeToChildren(int maxBytes,
StreamByteDistributor.Writer writer,
WeightedFairQueueByteDistributor.State state)
It is a pre-condition that
state.poll() returns a non-null value. |
(package private) void |
WeightedFairQueueByteDistributor.State.write(int numBytes,
StreamByteDistributor.Writer writer) |
(package private) void |
UniformStreamByteDistributor.State.write(int numBytes,
StreamByteDistributor.Writer writer)
Write any allocated bytes for the given stream and updates the streamable bytes,
assuming all of the bytes will be written.
|