spring-framework / org.springframework.web.servlet.handler / SimpleUrlHandlerMapping / setMappings

setMappings

open fun setMappings(mappings: Properties): Unit

Map URL paths to handler bean names. This is the typical way of configuring this HandlerMapping.

Supports direct URL matches and Ant-style pattern matches. For syntax details, see the org.springframework.util.AntPathMatcher javadoc.

Parameters

mappings - properties with URLs as keys and bean names as values

See Also
#setUrlMap