Show request mappings of MVC beans
See original GitHub issueHello Alessandro,
one nice feature to have would be a view that shows the @RequestMapping
of recognized beans like this:
https://twitter.com/rotnroll666/status/753136922927718400/photo/1
I’m only a NetBeans user, don’t have much experience writing my own plugins, but maybe I could help on the Spring site?
Thanks, Michael
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
spring mvc get all request mappings - Stack Overflow
I would like to create a test now which checks every possible url and checks if the return value is 200.
Read more >Spring @RequestMapping - Baeldung
@RequestMapping allows easy mapping of URL parameters with the @RequestParam annotation. We are now mapping a request to a URI: http://localhost ...
Read more >17. Web MVC framework - Spring
The Spring Web model-view-controller (MVC) framework is designed around a DispatcherServlet that dispatches requests to handlers, with configurable handler ...
Read more >Spring MVC - Bean Name Url Handler Mapping Example
The BeanNameUrlHandlerMapping class is the default handler mapping class, which maps the URL request(s) to the name of the beans mentioned in the...
Read more >Using the Spring @RequestMapping Annotation
In this post, I show you how to use the Spring MVC @RequestMapping annotation to configure how Spring MVC maps web requests to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I noticed that if I have:
the request mapping view shows no HTTP method. I assumed a default of
GET
but after looking at the documentation I realized that the default is all methods. I think I will mention it in the wiki when documenting this new functionality.Exactly, the method attribute acts as a restriction.
If you at
@RequestMapping(method = GET)
at controller level and omit it on method level like in your example, then it means only GET there, too.