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

setPathMatcher

open fun setPathMatcher(pathMatcher: PathMatcher): Unit

Set the PathMatcher implementation to use for matching URL paths against registered URL patterns, for determining cache mappings. Default is AntPathMatcher.

See Also
#addCacheMapping#setCacheMappingsorg.springframework.util.AntPathMatcher