mockGoAwaySent() — netty Function Reference
Architecture documentation for the mockGoAwaySent() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40["mockGoAwaySent()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc 5fbf4d78_6e4f_40c7_f025_54e959da7d90["dataReadAfterGoAwaySentShouldApplyFlowControl()"] 5fbf4d78_6e4f_40c7_f025_54e959da7d90 -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 f0c0b63f_5c78_ba9d_2b3a_537736b2f0c6["dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore()"] f0c0b63f_5c78_ba9d_2b3a_537736b2f0c6 -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 ca2cb6c5_07fe_8473_c27b_52926394419a["dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore()"] ca2cb6c5_07fe_8473_c27b_52926394419a -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 3c03bcaa_a4ae_f3fa_8c50_fe0238b9bf53["headersReadForUnknownStreamAfterGoAwayShouldBeIgnored()"] 3c03bcaa_a4ae_f3fa_8c50_fe0238b9bf53 -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 8f57573e_2367_8133_2edd_a27afebac6ec["pushPromiseReadAfterGoAwaySentShouldBeIgnored()"] 8f57573e_2367_8133_2edd_a27afebac6ec -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 08066beb_a588_8447_9835_4db24c99e8ed["windowUpdateReadAfterGoAwaySentShouldBeIgnored()"] 08066beb_a588_8447_9835_4db24c99e8ed -->|calls| e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 style e3fe7bb5_d1a7_ebe1_68ae_a75c0552db40 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 1065–1069
private void mockGoAwaySent() {
when(connection.goAwaySent()).thenReturn(true);
when(remote.isValidStreamId(STREAM_ID)).thenReturn(true);
when(remote.lastStreamKnownByPeer()).thenReturn(0);
}
Domain
Subdomains
Defined In
Called By
- dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore()
- dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore()
- dataReadAfterGoAwaySentShouldApplyFlowControl()
- headersReadForUnknownStreamAfterGoAwayShouldBeIgnored()
- pushPromiseReadAfterGoAwaySentShouldBeIgnored()
- windowUpdateReadAfterGoAwaySentShouldBeIgnored()
Source
Frequently Asked Questions
What does mockGoAwaySent() do?
mockGoAwaySent() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is mockGoAwaySent() defined?
mockGoAwaySent() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 1065.
What calls mockGoAwaySent()?
mockGoAwaySent() is called by 6 function(s): dataReadAfterGoAwaySentForStreamInInvalidStateShouldIgnore, dataReadAfterGoAwaySentOnUnknownStreamShouldIgnore, dataReadAfterGoAwaySentShouldApplyFlowControl, headersReadForUnknownStreamAfterGoAwayShouldBeIgnored, pushPromiseReadAfterGoAwaySentShouldBeIgnored, windowUpdateReadAfterGoAwaySentShouldBeIgnored.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free