spring-framework / org.springframework.web.reactive.handler / SimpleUrlHandlerMapping / setUrlMap

setUrlMap

open fun setUrlMap(urlMap: MutableMap<String, *>): Unit

Set a Map with URL paths as keys and handler beans (or handler bean names) as values. Convenient for population with bean references.

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

Parameters

urlMap - map with URLs as keys and beans as values

See Also
#setMappings