The Map
argument you have in your controller handler method is effectively used as a map of model attributes.
Model attributes are (typically) added as HttpServletRequest
attributes before the view is rendered.
This is explained in the documentation here.
The following are the supported method arguments:
java.util.Map
/org.springframework.ui.Model
/org.springframework.ui.ModelMap
for enriching the implicit model that is exposed to the web view.