Re:How Many Type Parameters Can a Java Method Have?
by nkkollaw on Monday April 29, 2019 @10:25AM
(#19778595)
Ugh, why would they do that?
[ Parent
| on HN ]
Re:How Many Type Parameters Can a Java Method Have?
by lmm on Monday April 29, 2019 @01:06PM
(#19780229)
Looks like the type tells you which HTTP status codes are possible from a given route, so that e.g. a route that can return only 200 or 403 is a different type from a route that could return 302. Which makes a lot of sense, because certain transformations / routing directives that you might want to do only make sense for particular HTTP status codes.