Uses of Class
org.springframework.web.servlet.config.annotation.PathMatchConfigurer
Packages that use PathMatchConfigurer Package Description org.springframework.web.servlet.config.annotation Annotation-based setup for Spring MVC.Uses of PathMatchConfigurer in org.springframework.web.servlet.config.annotation
Methods in org.springframework.web.servlet.config.annotation that return PathMatchConfigurer Modifier and Type Method Description PathMatchConfigurerPathMatchConfigurer. addPathPrefix(String prefix, Predicate<Class<?>> predicate)Configure a path prefix to apply to matching controller methods.protected PathMatchConfigurerWebMvcConfigurationSupport. getPathMatchConfigurer()Callback for building thePathMatchConfigurer.PathMatchConfigurerPathMatchConfigurer. setPathMatcher(PathMatcher pathMatcher)Set the PathMatcher implementation to use for matching URL paths against registered URL patterns.PathMatchConfigurerPathMatchConfigurer. setUrlPathHelper(UrlPathHelper urlPathHelper)Set the UrlPathHelper to use for resolution of lookup paths.PathMatchConfigurerPathMatchConfigurer. setUseRegisteredSuffixPatternMatch(Boolean registeredSuffixPatternMatch)Deprecated.as of 5.2.4.PathMatchConfigurerPathMatchConfigurer. setUseSuffixPatternMatch(Boolean suffixPatternMatch)Deprecated.as of 5.2.4.PathMatchConfigurerPathMatchConfigurer. setUseTrailingSlashMatch(Boolean trailingSlashMatch)Whether to match to URLs irrespective of the presence of a trailing slash.Methods in org.springframework.web.servlet.config.annotation with parameters of type PathMatchConfigurer Modifier and Type Method Description protected voidDelegatingWebMvcConfiguration. configurePathMatch(PathMatchConfigurer configurer)protected voidWebMvcConfigurationSupport. configurePathMatch(PathMatchConfigurer configurer)Override this method to configure path matching options.default voidWebMvcConfigurer. configurePathMatch(PathMatchConfigurer configurer)Helps with configuring HandlerMappings path matching options such as trailing slash match, suffix registration, path matcher and path helper.voidWebMvcConfigurerAdapter. configurePathMatch(PathMatchConfigurer configurer)Deprecated.Helps with configuring HandlerMappings path matching options such as trailing slash match, suffix registration, path matcher and path helper.