Commit 378add9
committed
feat: Replace per-route extras wiring with ExtrasRouter
Wire the single ExtrasRouter at "/" instead of creating one HttpContext
per extra route. Delete ExtraRouteAdapter and NotFoundHandler, whose
logic now lives in ExtrasRouter. Guard against extras when basePath is "/".1 parent 67d38d3 commit 378add9
4 files changed
Lines changed: 6 additions & 141 deletions
File tree
- src
- main/java/com/retailsvc/http
- internal
- test/java/com/retailsvc/http/internal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
| |||
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 136 | | |
144 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
145 | 142 | | |
146 | 143 | | |
147 | 144 | | |
| |||
Lines changed: 0 additions & 56 deletions
This file was deleted.
Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 0 additions & 58 deletions
This file was deleted.
0 commit comments