duplicateSettingsValuesInsideHttp3SettingsTest() — netty Function Reference
Architecture documentation for the duplicateSettingsValuesInsideHttp3SettingsTest() function in Http3SettingsTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3f1e782f_d916_63c2_df7b_d0bb7e1ac472["duplicateSettingsValuesInsideHttp3SettingsTest()"] ee6f69e5_fb9f_2be4_c226_579273bf8ce3["Http3SettingsTest"] 3f1e782f_d916_63c2_df7b_d0bb7e1ac472 -->|defined in| ee6f69e5_fb9f_2be4_c226_579273bf8ce3 style 3f1e782f_d916_63c2_df7b_d0bb7e1ac472 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/Http3SettingsTest.java lines 323–342
@Test
void duplicateSettingsValuesInsideHttp3SettingsTest() {
Http3Settings http3Settings = new Http3Settings();
assertNull(http3Settings.put(Http3SettingIdentifier.HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY.id(), 100L));
assertNull(http3Settings.put(Http3SettingIdentifier.HTTP3_SETTINGS_QPACK_BLOCKED_STREAMS.id(), 1L));
assertNull(http3Settings.put(Http3SettingIdentifier.HTTP3_SETTINGS_MAX_FIELD_SECTION_SIZE.id(), 128L));
assertNull(http3Settings.put(Http3SettingIdentifier.HTTP3_SETTINGS_ENABLE_CONNECT_PROTOCOL.id(), 0L));
assertNull(http3Settings.put(Http3SettingIdentifier.HTTP3_SETTINGS_H3_DATAGRAM.id(), 1L));
//known headers should not contain duplicate so give non-null
// which is used in http3framecodec to throw error
assertNotNull(http3Settings.put(Http3SettingIdentifier.HTTP3_SETTINGS_H3_DATAGRAM.id(), 1L));
// Ensure we can encode and decode all sizes correctly.
// unknown settings id/key will be ignored
assertNull(http3Settings.put(63, 63L));
assertNull(http3Settings.put(16383, 16383L));
assertNull(http3Settings.put(1073741823, 1073741823L));
assertNull(http3Settings.put(4611686018427387903L, 4611686018427387903L));
//even duplicates of unknown ignored as we ignore unknown
assertNull(http3Settings.put(4611686018427387903L, 4611686018427387903L));
}
Domain
Subdomains
Source
Frequently Asked Questions
What does duplicateSettingsValuesInsideHttp3SettingsTest() do?
duplicateSettingsValuesInsideHttp3SettingsTest() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3SettingsTest.java.
Where is duplicateSettingsValuesInsideHttp3SettingsTest() defined?
duplicateSettingsValuesInsideHttp3SettingsTest() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/Http3SettingsTest.java at line 323.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free