Home / Function/ canWriteDataFrameAfterGoAwayReceived() — netty Function Reference

canWriteDataFrameAfterGoAwayReceived() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  9ac36510_28e0_68af_345d_c442ddbff0e5["canWriteDataFrameAfterGoAwayReceived()"]
  aef19477_9a1f_48c4_824a_17c7f3ecbb10["DefaultHttp2ConnectionEncoderTest"]
  9ac36510_28e0_68af_345d_c442ddbff0e5 -->|defined in| aef19477_9a1f_48c4_824a_17c7f3ecbb10
  5201c307_7996_fbce_683f_472edc39e053["goAwayReceived()"]
  9ac36510_28e0_68af_345d_c442ddbff0e5 -->|calls| 5201c307_7996_fbce_683f_472edc39e053
  style 9ac36510_28e0_68af_345d_c442ddbff0e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java lines 872–879

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

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free