Home / Function/ unflushedPayloadsShouldBeDroppedOnCancel() — netty Function Reference

unflushedPayloadsShouldBeDroppedOnCancel() — netty Function Reference

Architecture documentation for the unflushedPayloadsShouldBeDroppedOnCancel() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  ce70dc90_cde8_28bb_d6d0_32aaf1b153a5["unflushedPayloadsShouldBeDroppedOnCancel()"]
  f8fd7697_92d4_6455_4dd8_09a33ac81a6f["DefaultHttp2RemoteFlowControllerTest"]
  ce70dc90_cde8_28bb_d6d0_32aaf1b153a5 -->|defined in| f8fd7697_92d4_6455_4dd8_09a33ac81a6f
  136071dd_c92e_5482_7cb2_c1ba0769c1ab["FakeFlowControlled()"]
  ce70dc90_cde8_28bb_d6d0_32aaf1b153a5 -->|calls| 136071dd_c92e_5482_7cb2_c1ba0769c1ab
  85ffafbd_47aa_f4f5_fd02_71f26d692e10["sendData()"]
  ce70dc90_cde8_28bb_d6d0_32aaf1b153a5 -->|calls| 85ffafbd_47aa_f4f5_fd02_71f26d692e10
  4d627b61_f0ea_0927_043f_7bfb246d71d1["assertNotWritten()"]
  ce70dc90_cde8_28bb_d6d0_32aaf1b153a5 -->|calls| 4d627b61_f0ea_0927_043f_7bfb246d71d1
  style ce70dc90_cde8_28bb_d6d0_32aaf1b153a5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 178–190

    @Test
    public void unflushedPayloadsShouldBeDroppedOnCancel() throws Http2Exception {
        FakeFlowControlled data = new FakeFlowControlled(5);
        Http2Stream streamA = stream(STREAM_A);
        sendData(STREAM_A, data);
        streamA.close();
        controller.writePendingBytes();
        data.assertNotWritten();
        controller.writePendingBytes();
        data.assertNotWritten();
        verify(listener, times(1)).writabilityChanged(streamA);
        assertFalse(controller.isWritable(streamA));
    }

Domain

Subdomains

Frequently Asked Questions

What does unflushedPayloadsShouldBeDroppedOnCancel() do?
unflushedPayloadsShouldBeDroppedOnCancel() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is unflushedPayloadsShouldBeDroppedOnCancel() defined?
unflushedPayloadsShouldBeDroppedOnCancel() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 178.
What does unflushedPayloadsShouldBeDroppedOnCancel() call?
unflushedPayloadsShouldBeDroppedOnCancel() calls 3 function(s): FakeFlowControlled, assertNotWritten, sendData.

Analyze Your Own Codebase

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

Try Supermodel Free