failedWhenSettingsFrameWithWrongPayloadLength() — netty Function Reference
Architecture documentation for the failedWhenSettingsFrameWithWrongPayloadLength() function in DefaultHttp2FrameReaderTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a9a7c6bd_6e68_2cab_8d8d_29171dd47fec["failedWhenSettingsFrameWithWrongPayloadLength()"] 66b2f0cc_bce5_f8e1_a7ee_93cd2a101951["DefaultHttp2FrameReaderTest"] a9a7c6bd_6e68_2cab_8d8d_29171dd47fec -->|defined in| 66b2f0cc_bce5_f8e1_a7ee_93cd2a101951 style a9a7c6bd_6e68_2cab_8d8d_29171dd47fec fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java lines 418–435
@Test
public void failedWhenSettingsFrameWithWrongPayloadLength() throws Http2Exception {
final ByteBuf input = Unpooled.buffer();
try {
writeFrameHeader(input, 8, SETTINGS, new Http2Flags(), 0);
input.writeInt(SETTINGS_MAX_HEADER_LIST_SIZE);
input.writeInt(1024);
Http2Exception ex = assertThrows(Http2Exception.class, new Executable() {
@Override
public void execute() throws Throwable {
frameReader.readFrame(ctx, input, listener);
}
});
assertFalse(ex instanceof Http2Exception.StreamException);
} finally {
input.release();
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does failedWhenSettingsFrameWithWrongPayloadLength() do?
failedWhenSettingsFrameWithWrongPayloadLength() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java.
Where is failedWhenSettingsFrameWithWrongPayloadLength() defined?
failedWhenSettingsFrameWithWrongPayloadLength() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2FrameReaderTest.java at line 418.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free