This repository was archived by the owner on May 8, 2026. It is now read-only.
Commit e44b34e
authored
Backward Compatible - Http3SettingsFrame abstraction (#15835) (#353)
* [x] Provide a cleaner, more maintainable implementation of
`Http3SettingsFrame`.
* [x] Replace the previous untyped `LongObjectHashMap`-based approach
with a typed `Http3Settings` abstraction.
* [x] Improve API clarity and future extensibility for HTTP/3 settings
handling (similar to Http2Settings)
---
* [x] Introduced `Http3Settings` class to encapsulate and manage HTTP/3
settings.
* [x] Deprecated legacy untyped accessors (`get()`, `put()`) in favor of
typed methods such as `qpackMaxTableCapacity()` and
`enableConnectProtocol()`.
* [x] Updated `DefaultHttp3SettingsFrame` to use the new `Http3Settings`
internally.
* [x] Added detailed Javadoc to guide migration to the new typed API.
* [x] Added comprehensive test coverage for `Http3Settings` and its
integration with `Http3SettingsFrame`.
---
* [x] **Backward-compatible** – existing code using `get()`/`put()`
still works (marked deprecated).
* [x] **Forward-compatible** – encourages use of typed accessors.
* [x] **No behavioral change** – internal structure and API clarity
improved only.
---
Port of netty/netty#158351 parent b598f4f commit e44b34e
6 files changed
Lines changed: 884 additions & 17 deletions
File tree
- src
- main/java/io/netty/incubator/codec/http3
- test/java/io/netty/incubator/codec/http3
Lines changed: 38 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
29 | 51 | | |
| 52 | + | |
| 53 | + | |
30 | 54 | | |
| 55 | + | |
31 | 56 | | |
32 | 57 | | |
33 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
34 | 68 | | |
| 69 | + | |
| 70 | + | |
35 | 71 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 72 | | |
40 | 73 | | |
41 | 74 | | |
42 | 75 | | |
43 | 76 | | |
44 | | - | |
| 77 | + | |
45 | 78 | | |
46 | 79 | | |
47 | 80 | | |
| |||
0 commit comments