Home / Function/ outboundFlowControlWritability() — netty Function Reference

outboundFlowControlWritability() — netty Function Reference

Architecture documentation for the outboundFlowControlWritability() function in Http2MultiplexTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  3a82065f_cd01_f2dc_ed01_19a2a21d83a1["outboundFlowControlWritability()"]
  4745ff96_ed57_3bd8_9861_4b786d0b6e09["Http2MultiplexTest"]
  3a82065f_cd01_f2dc_ed01_19a2a21d83a1 -->|defined in| 4745ff96_ed57_3bd8_9861_4b786d0b6e09
  b9b63893_76d6_8a34_cbb9_a71b8eeaf1c2["flush()"]
  3a82065f_cd01_f2dc_ed01_19a2a21d83a1 -->|calls| b9b63893_76d6_8a34_cbb9_a71b8eeaf1c2
  style 3a82065f_cd01_f2dc_ed01_19a2a21d83a1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java lines 1091–1107

    @Test
    public void outboundFlowControlWritability() {
        Http2StreamChannel childChannel = newOutboundStream(new ChannelInboundHandlerAdapter());
        assertTrue(childChannel.isActive());

        assertTrue(childChannel.isWritable());
        childChannel.writeAndFlush(new DefaultHttp2HeadersFrame(new DefaultHttp2Headers()));
        parentChannel.flush();

        // Test for initial window size
        assertTrue(initialRemoteStreamWindow < childChannel.config().getWriteBufferHighWaterMark());

        assertTrue(childChannel.isWritable());
        childChannel.write(new DefaultHttp2DataFrame(Unpooled.buffer().writeZero(16 * 1024 * 1024)));
        assertEquals(0, childChannel.bytesBeforeUnwritable());
        assertFalse(childChannel.isWritable());
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does outboundFlowControlWritability() do?
outboundFlowControlWritability() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java.
Where is outboundFlowControlWritability() defined?
outboundFlowControlWritability() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2MultiplexTest.java at line 1091.
What does outboundFlowControlWritability() call?
outboundFlowControlWritability() 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