Home / Function/ dataReadWithEndOfStreamShouldcloseStreamRemote() — netty Function Reference

dataReadWithEndOfStreamShouldcloseStreamRemote() — netty Function Reference

Architecture documentation for the dataReadWithEndOfStreamShouldcloseStreamRemote() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  6d7d826f_7352_4b57_d9a7_8a7d142e8cf9["dataReadWithEndOfStreamShouldcloseStreamRemote()"]
  7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"]
  6d7d826f_7352_4b57_d9a7_8a7d142e8cf9 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc
  style 6d7d826f_7352_4b57_d9a7_8a7d142e8cf9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 449–460

    @Test
    public void dataReadWithEndOfStreamShouldcloseStreamRemote() throws Exception {
        final ByteBuf data = dummyData();
        try {
            decode().onDataRead(ctx, STREAM_ID, data, 10, true);
            verify(localFlow).receiveFlowControlledFrame(eq(stream), eq(data), eq(10), eq(true));
            verify(lifecycleManager).closeStreamRemote(eq(stream), eq(future));
            verify(listener).onDataRead(eq(ctx), eq(STREAM_ID), eq(data), eq(10), eq(true));
        } finally {
            data.release();
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free