Home / Function/ flowControlShouldBeResilientToMissingStreams() — netty Function Reference

flowControlShouldBeResilientToMissingStreams() — netty Function Reference

Architecture documentation for the flowControlShouldBeResilientToMissingStreams() function in Http2FrameCodecTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a193ee97_5cac_69e5_57e5_f0a41a196061["flowControlShouldBeResilientToMissingStreams()"]
  71f17950_8fc4_c3e9_2e13_384d1ac7ea2c["Http2FrameCodecTest"]
  a193ee97_5cac_69e5_57e5_f0a41a196061 -->|defined in| 71f17950_8fc4_c3e9_2e13_384d1ac7ea2c
  style a193ee97_5cac_69e5_57e5_f0a41a196061 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java lines 225–237

    @Test
    public void flowControlShouldBeResilientToMissingStreams() throws Http2Exception {
        Http2Connection conn = new DefaultHttp2Connection(true);
        Http2ConnectionEncoder enc = new DefaultHttp2ConnectionEncoder(conn, new DefaultHttp2FrameWriter());
        Http2ConnectionDecoder dec = new DefaultHttp2ConnectionDecoder(conn, enc, new DefaultHttp2FrameReader());
        Http2FrameCodec codec = new Http2FrameCodec(enc, dec, new Http2Settings(), false, true);
        EmbeddedChannel em = new EmbeddedChannel(codec);

        // We call #consumeBytes on a stream id which has not been seen yet to emulate the case
        // where a stream is deregistered which in reality can happen in response to a RST.
        assertFalse(codec.consumeBytes(1, 1));
        assertTrue(em.finishAndReleaseAll());
    }

Domain

Subdomains

Frequently Asked Questions

What does flowControlShouldBeResilientToMissingStreams() do?
flowControlShouldBeResilientToMissingStreams() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java.
Where is flowControlShouldBeResilientToMissingStreams() defined?
flowControlShouldBeResilientToMissingStreams() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameCodecTest.java at line 225.

Analyze Your Own Codebase

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

Try Supermodel Free