Request mapping header to a specific value

Viewed 15

Here is my request mapping @RequestMapping(value = {"/foos", "/bar"}, headers = {"customHeader1", "customHeader2"})

Is there a way that I can add the headers only to /foo path??

0 Answers
Related