Home / Function/ canWriteHeaderFrameAfterGoAwaySent() — netty Function Reference

canWriteHeaderFrameAfterGoAwaySent() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4a953835_40dc_c021_f59e_363fa0f17aad["canWriteHeaderFrameAfterGoAwaySent()"]
  aef19477_9a1f_48c4_824a_17c7f3ecbb10["DefaultHttp2ConnectionEncoderTest"]
  4a953835_40dc_c021_f59e_363fa0f17aad -->|defined in| aef19477_9a1f_48c4_824a_17c7f3ecbb10
  28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4["writeAllFlowControlledFrames()"]
  4a953835_40dc_c021_f59e_363fa0f17aad -->|calls| 28f0aa39_bbbc_f7c5_14c5_1a7106a5f5a4
  de721981_221e_f2a2_44ed_91ebe93b2df0["goAwaySent()"]
  4a953835_40dc_c021_f59e_363fa0f17aad -->|calls| de721981_221e_f2a2_44ed_91ebe93b2df0
  style 4a953835_40dc_c021_f59e_363fa0f17aad fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionEncoderTest.java lines 861–870

    @Test
    public void canWriteHeaderFrameAfterGoAwaySent() throws Exception {
        writeAllFlowControlledFrames();
        createStream(STREAM_ID, false);
        goAwaySent(0);
        ChannelPromise promise = newPromise();
        encoder.writeHeaders(ctx, STREAM_ID, EmptyHttp2Headers.INSTANCE, 0, false, promise);
        verify(writer).writeHeaders(eq(ctx), eq(STREAM_ID), eq(EmptyHttp2Headers.INSTANCE),
                eq(0), eq(false), eq(promise));
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free