Uses of Class
org.springframework.web.servlet.config.annotation.PathMatchConfigurer
Packages that use PathMatchConfigurer
Package
Description
Annotation-based setup for Spring MVC.
- 
Uses of PathMatchConfigurer in org.springframework.web.servlet.config.annotationMethods in org.springframework.web.servlet.config.annotation that return PathMatchConfigurerModifier and TypeMethodDescriptionPathMatchConfigurer.addPathPrefix(String prefix, Predicate<Class<?>> predicate) Configure a path prefix to apply to matching controller methods.protected PathMatchConfigurerWebMvcConfigurationSupport.getPathMatchConfigurer()Callback for building thePathMatchConfigurer.PathMatchConfigurer.setPathMatcher(PathMatcher pathMatcher) Set the PathMatcher to use for String pattern matching.PathMatchConfigurer.setPatternParser(PathPatternParser patternParser) Enable use of parsedPathPatterns as described inAbstractHandlerMapping.setPatternParser(PathPatternParser).PathMatchConfigurer.setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use to resolve the mapping path for the application.PathMatchConfigurer.setUseRegisteredSuffixPatternMatch(Boolean registeredSuffixPatternMatch) Deprecated.as of 5.2.4.PathMatchConfigurer.setUseSuffixPatternMatch(Boolean suffixPatternMatch) Deprecated.as of 5.2.4.PathMatchConfigurer.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 PathMatchConfigurerModifier and TypeMethodDescriptionprotected voidDelegatingWebMvcConfiguration.configurePathMatch(PathMatchConfigurer configurer) protected voidWebMvcConfigurationSupport.configurePathMatch(PathMatchConfigurer configurer) Override this method to configure path matching options.default voidWebMvcConfigurer.configurePathMatch(PathMatchConfigurer configurer) Help with configuringHandlerMappingpath matching options such as whether to use parsedPathPatternsor String pattern matching withPathMatcher, whether to match trailing slashes, and more.