3 ms·
>custom dynamic header Its just: @RequestHeader("Header") added to the param list.
by jayd16 8y ago
>custom dynamic header
Its just: @RequestHeader("Header") added to the param list.
- neuronic 8y agoThe secret is that there is always another annotation...
- joneholland 8y agoHow do you add that dynamically?
- jayd16 8y agoWhat do you mean? Like, look for any header? You can just grab them all from the request context. >@Context HttpHeaders headers I'm not sure if there's some kind of regex support or anything like that. Looping through the headers seems simple enough.