Home / Function/ canWriteDataFrameAfterGoAwaySent() — netty Function Reference

canWriteDataFrameAfterGoAwaySent() — netty Function Reference

Architecture documentation for the canWriteDataFrameAfterGoAwaySent() function in DefaultHttp2ConnectionEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5316fe06_8cb5_8414_4a86_57d806da7acf["canWriteDataFrameAfterGoAwaySent()"]
  aef19477_9a1f_48c4_824a_17c7f3ecbb10["DefaultHttp2ConnectionEncoderTest"]
  5316fe06_8cb5_8414_4a86_57d806da7acf -->|defined in| aef19477_9a1f_48c4_824a_17c7f3ecbb10
  de721981_221e_f2a2_44ed_91ebe93b2df0["goAwaySent()"]
  5316fe06_8cb5_8414_4a86_57d806da7acf -->|calls| de721981_221e_f2a2_44ed_91ebe93b2df0
  style 5316fe06_8cb5_8414_4a86_57d806da7acf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java lines 852–859

    @Test
    public void canWriteDataFrameAfterGoAwaySent() throws Exception {
        Http2Stream stream = createStream(STREAM_ID, false);
        connection.goAwaySent(0, 0, EMPTY_BUFFER);
        ByteBuf data = mock(ByteBuf.class);
        encoder.writeData(ctx, STREAM_ID, data, 0, false, newPromise());
        verify(remoteFlow).addFlowControlled(eq(stream), any(FlowControlled.class));
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does canWriteDataFrameAfterGoAwaySent() do?
canWriteDataFrameAfterGoAwaySent() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java.
Where is canWriteDataFrameAfterGoAwaySent() defined?
canWriteDataFrameAfterGoAwaySent() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java at line 852.
What does canWriteDataFrameAfterGoAwaySent() call?
canWriteDataFrameAfterGoAwaySent() calls 1 function(s): goAwaySent.

Analyze Your Own Codebase

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

Try Supermodel Free