channelWritabilityChanged() — netty Function Reference
Architecture documentation for the channelWritabilityChanged() function in Http2ConnectionHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a211866a_e0ad_b29c_796d_0e206d3e3f14["channelWritabilityChanged()"] a9ab361d_2417_0366_d9d0_ae1adb2145dc["Http2ConnectionHandler"] a211866a_e0ad_b29c_796d_0e206d3e3f14 -->|defined in| a9ab361d_2417_0366_d9d0_ae1adb2145dc fcfd6790_7b31_2514_7e7e_6ee61c0daff9["flush()"] a211866a_e0ad_b29c_796d_0e206d3e3f14 -->|calls| fcfd6790_7b31_2514_7e7e_6ee61c0daff9 style a211866a_e0ad_b29c_796d_0e206d3e3f14 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java lines 444–456
@Override
public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception {
// Writability is expected to change while we are writing. We cannot allow this event to trigger reentering
// the allocation and write loop. Reentering the event loop will lead to over or illegal allocation.
try {
if (ctx.channel().isWritable()) {
flush(ctx);
}
encoder.flowController().channelWritabilityChanged();
} finally {
super.channelWritabilityChanged(ctx);
}
}
Domain
Subdomains
Calls
Source
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/Http2ConnectionHandler.java.
Where is channelWritabilityChanged() defined?
channelWritabilityChanged() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionHandler.java at line 444.
What does channelWritabilityChanged() call?
channelWritabilityChanged() calls 1 function(s): flush.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free