spring-framework / org.springframework.web.servlet.mvc / WebContentInterceptor / setUrlPathHelper

setUrlPathHelper

open fun setUrlPathHelper(urlPathHelper: UrlPathHelper): Unit

Set the UrlPathHelper to use for resolution of lookup paths.

Use this to override the default UrlPathHelper with a custom subclass, or to share common UrlPathHelper settings across multiple HandlerMappings and MethodNameResolvers.

Only relevant for the "cacheMappings" setting.

See Also
#setCacheMappingsorg.springframework.web.servlet.handler.AbstractUrlHandlerMapping#setUrlPathHelper