setChannelWritability() — netty Function Reference
Architecture documentation for the setChannelWritability() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD fcf0135d_da22_5e56_b897_80632a4345f6["setChannelWritability()"] f8fd7697_92d4_6455_4dd8_09a33ac81a6f["DefaultHttp2RemoteFlowControllerTest"] fcf0135d_da22_5e56_b897_80632a4345f6 -->|defined in| f8fd7697_92d4_6455_4dd8_09a33ac81a6f 9fed0499_471e_ac3f_c01d_022267ff0534["setup()"] 9fed0499_471e_ac3f_c01d_022267ff0534 -->|calls| fcf0135d_da22_5e56_b897_80632a4345f6 cbf824fe_e9cc_34ce_8efe_68dfd754d243["nonWritableChannelDoesNotAttemptToWrite()"] cbf824fe_e9cc_34ce_8efe_68dfd754d243 -->|calls| fcf0135d_da22_5e56_b897_80632a4345f6 style fcf0135d_da22_5e56_b897_80632a4345f6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 1031–1037
private void setChannelWritability(boolean isWritable) throws Http2Exception {
when(channel.bytesBeforeUnwritable()).thenReturn(isWritable ? Long.MAX_VALUE : 0);
when(channel.isWritable()).thenReturn(isWritable);
if (controller != null) {
controller.channelWritabilityChanged();
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does setChannelWritability() do?
setChannelWritability() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is setChannelWritability() defined?
setChannelWritability() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 1031.
What calls setChannelWritability()?
setChannelWritability() is called by 2 function(s): nonWritableChannelDoesNotAttemptToWrite, setup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free