I want to gather all params in my @RestController
into a single bean for passing them downstream.
With Jersey I would define a @BeanParam
, what seems not possible with Spring-Boot.
I tried defining a Parameterbean with accessors named like the @PathVariable
, annotated the setters arguments with @PathVariable
and the same for the constructor.
I found up to 5 years old examples on SO with @ModelAttribute
I desperatly gave a try, with no success.
So is there something I could try?