Home / Function/ channelWritabilityChanged() — netty Function Reference

channelWritabilityChanged() — netty Function Reference

Architecture documentation for the channelWritabilityChanged() function in Http2MultiplexCodec.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  4d17d6b7_da65_3de6_fcc7_ddb712a714fd["channelWritabilityChanged()"]
  a7ac469b_ce05_746a_3b73_34450541872b["Http2MultiplexCodec"]
  4d17d6b7_da65_3de6_fcc7_ddb712a714fd -->|defined in| a7ac469b_ce05_746a_3b73_34450541872b
  style 4d17d6b7_da65_3de6_fcc7_ddb712a714fd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java lines 280–289

    @Override
    public final void channelWritabilityChanged(final ChannelHandlerContext ctx) throws Exception {
        if (ctx.channel().isWritable()) {
            // While the writability state may change during iterating of the streams we just set all of the streams
            // to writable to not affect fairness. These will be "limited" by their own watermarks in any case.
            forEachActiveStream(AbstractHttp2StreamChannel.WRITABLE_VISITOR);
        }

        super.channelWritabilityChanged(ctx);
    }

Domain

Subdomains

Frequently Asked Questions

What does channelWritabilityChanged() do?
channelWritabilityChanged() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java.
Where is channelWritabilityChanged() defined?
channelWritabilityChanged() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2MultiplexCodec.java at line 280.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free