Home / Function/ goAwayFrameShouldMatch() — netty Function Reference

goAwayFrameShouldMatch() — netty Function Reference

Architecture documentation for the goAwayFrameShouldMatch() function in Http2FrameRoundtripTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  909d0642_8b2e_6094_9f3c_6048a054018e["goAwayFrameShouldMatch()"]
  900e14d5_99d5_0a22_aeb4_72af4ffe3fca["Http2FrameRoundtripTest"]
  909d0642_8b2e_6094_9f3c_6048a054018e -->|defined in| 900e14d5_99d5_0a22_aeb4_72af4ffe3fca
  2ccb6e24_01de_9d82_8893_0e095430f4da["readFrames()"]
  909d0642_8b2e_6094_9f3c_6048a054018e -->|calls| 2ccb6e24_01de_9d82_8893_0e095430f4da
  style 909d0642_8b2e_6094_9f3c_6048a054018e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2FrameRoundtripTest.java lines 341–352

    @Test
    public void goAwayFrameShouldMatch() throws Exception {
        final String text = "test";
        final ByteBuf data = buf(text.getBytes());

        writer.writeGoAway(ctx, STREAM_ID, ERROR_CODE, data.slice(), ctx.newPromise());
        readFrames();

        ArgumentCaptor<ByteBuf> captor = ArgumentCaptor.forClass(ByteBuf.class);
        verify(listener).onGoAwayRead(eq(ctx), eq(STREAM_ID), eq(ERROR_CODE), captor.capture());
        assertEquals(data, captor.getValue());
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free