且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“参数"的含义在@RequestMapping注释中?

更新时间:2021-08-25 15:17:29

您的示例意味着参数someParam必须出现在请求中.这用于缩小给定请求的匹配方法.

Your example means that the parameter someParam must be present in the request. This is used to narrow down the matching methods for the given request.

请参阅文档: RequestMapping#params