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.annotation
Methods 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) Deprecated, for removal: This API element is subject to removal in a future version.PathMatchConfigurer.setPatternParser(@Nullable PathPatternParser patternParser) Set thePathPatternParserto parsepatternswith for URL path matching.PathMatchConfigurer.setUrlPathHelper(UrlPathHelper urlPathHelper) Deprecated, for removal: This API element is subject to removal in a future version.use ofPathMatcherandUrlPathHelperis deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.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.
PathMatcheris deprecated for use at runtime in web modules in favor of parsed patterns withPathPatternParser.