Is there a way to see all @RequestMapping annotations as map of all requests/URLs, ideally with quick links to whichever Controller/method handles the URL?
In Spring 2 (before annotations) XML config (SimpleUrlHandlerMapping) could be used as such reference, now with annotated controllers is there any other way besides searching the codebase?
yes we can do the same as we can see that in STS spring explore , coming to intellij Go to Project Structure >> Modules >> select your project and add Spring to your project .
This will give you a spring tab at the bottom to see all the controllers.
2021 update: you can download a popular plugin in Intelij called Request mapper.
Currently it supports both Spring and JAX-RS path mappings.
request mapper plugin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With