学习 spring mvc 的过程中,发现他的 controller 的函数的入参很是神奇,变化多端,捉摸不定,查了一下,这里有说:http://stackoverflow.com/quest…
The general answer is “Spring magic”; however, “Supported handler method arguments and return types” in the MVC chapter of the Spring reference guide has the exact answers to your questions.
在这里 http://stackoverflow.com/quest… 和这里 http://docs.spring.io/spring/d… 可以看到更详细的说明