writeInvalidFrame() — netty Function Reference
Architecture documentation for the writeInvalidFrame() function in Http3ControlStreamInboundHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 9ac00224_5b82_b7cd_536e_640ebd943996["writeInvalidFrame()"] 902435e9_3b03_3141_b560_3cdae4f30cb6["Http3ControlStreamInboundHandlerTest"] 9ac00224_5b82_b7cd_536e_640ebd943996 -->|defined in| 902435e9_3b03_3141_b560_3cdae4f30cb6 e3131110_ec00_0184_d690_3f33218b34bb["testInvalidFirstFrame()"] e3131110_ec00_0184_d690_3f33218b34bb -->|calls| 9ac00224_5b82_b7cd_536e_640ebd943996 7553c39e_2a37_c0d1_09c8_111b3a46e4ef["testSecondGoAwayFrameFailsWithHigherId()"] 7553c39e_2a37_c0d1_09c8_111b3a46e4ef -->|calls| 9ac00224_5b82_b7cd_536e_640ebd943996 c3dae7d4_cd72_ebe4_db65_81960887e6b9["testGoAwayFrameIdNonRequestStream()"] c3dae7d4_cd72_ebe4_db65_81960887e6b9 -->|calls| 9ac00224_5b82_b7cd_536e_640ebd943996 4ddfc9b0_11a4_1383_79c0_316c5abbe8f5["testHttp3MaxPushIdFrames()"] 4ddfc9b0_11a4_1383_79c0_316c5abbe8f5 -->|calls| 9ac00224_5b82_b7cd_536e_640ebd943996 74000d64_f09f_61fa_d973_0db86dd0dba4["testSecondHttp3MaxPushIdFrameFailsWithSmallerId()"] 74000d64_f09f_61fa_d973_0db86dd0dba4 -->|calls| 9ac00224_5b82_b7cd_536e_640ebd943996 397af00f_9ec0_09e0_7019_839abbd5e9fc["testSecondSettingsFrameFails()"] 397af00f_9ec0_09e0_7019_839abbd5e9fc -->|calls| 9ac00224_5b82_b7cd_536e_640ebd943996 style 9ac00224_5b82_b7cd_536e_640ebd943996 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java lines 236–245
private void writeInvalidFrame(boolean forwardControlFrames, Http3ErrorCode expectedCode, EmbeddedChannel channel,
Http3Frame frame) {
if (forwardControlFrames) {
Exception e = assertThrows(Exception.class, () -> channel.writeInbound(frame));
assertException(expectedCode, e);
} else {
assertFalse(channel.writeInbound(frame));
}
assertFrameReleased(frame);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does writeInvalidFrame() do?
writeInvalidFrame() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java.
Where is writeInvalidFrame() defined?
writeInvalidFrame() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3ControlStreamInboundHandlerTest.java at line 236.
What calls writeInvalidFrame()?
writeInvalidFrame() is called by 6 function(s): testGoAwayFrameIdNonRequestStream, testHttp3MaxPushIdFrames, testInvalidFirstFrame, testSecondGoAwayFrameFailsWithHigherId, testSecondHttp3MaxPushIdFrameFailsWithSmallerId, testSecondSettingsFrameFails.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free