tooManyHeaderThrows() — netty Function Reference
Architecture documentation for the tooManyHeaderThrows() function in DefaultHttp2ConnectionDecoderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 16167337_a556_2513_1e10_f2681755703c["tooManyHeaderThrows()"] 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc["DefaultHttp2ConnectionDecoderTest"] 16167337_a556_2513_1e10_f2681755703c -->|defined in| 7c0b580c_3a1b_cdb3_bf02_2ffea3bbdffc 69da698e_c184_0b2c_a434_93fe8c484025["tooManyHeadersEOSThrows()"] 69da698e_c184_0b2c_a434_93fe8c484025 -->|calls| 16167337_a556_2513_1e10_f2681755703c f9cf0007_2e6b_96f6_910e_40820defd6f8["tooManyHeadersNoEOSThrows()"] f9cf0007_2e6b_96f6_910e_40820defd6f8 -->|calls| 16167337_a556_2513_1e10_f2681755703c style 16167337_a556_2513_1e10_f2681755703c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java lines 614–624
private void tooManyHeaderThrows(final boolean eos) throws Exception {
decode().onHeadersRead(ctx, STREAM_ID, EmptyHttp2Headers.INSTANCE, 0, false);
decode().onHeadersRead(ctx, STREAM_ID, EmptyHttp2Headers.INSTANCE, 0, true);
// We already received the trailers!
assertThrows(Http2Exception.class, new Executable() {
@Override
public void execute() throws Throwable {
decode().onHeadersRead(ctx, STREAM_ID, EmptyHttp2Headers.INSTANCE, 0, eos);
}
});
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does tooManyHeaderThrows() do?
tooManyHeaderThrows() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java.
Where is tooManyHeaderThrows() defined?
tooManyHeaderThrows() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionDecoderTest.java at line 614.
What calls tooManyHeaderThrows()?
tooManyHeaderThrows() is called by 2 function(s): tooManyHeadersEOSThrows, tooManyHeadersNoEOSThrows.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free