Is there an easy way to view all the possible method signature when I create a controller by annotating a class with @Controller?
I can’t find a spring documentation that lists all of that. From their guide, it seems to be really flexible where I don’t know what I can be returning or what I could use in the method parameters.
You should check the Spring MVC reference documentation again. In the “Defining @RequestMapping handler methods” chapter, everything is listed and explained :