Uses of Class
org.springframework.web.servlet.config.annotation.PathMatchConfigurer
Package
Description
Annotation-based setup for Spring MVC.
-
Uses of PathMatchConfigurer in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionPathMatchConfigurer.addPathPrefix
(String prefix, Predicate<Class<?>> predicate) Configure a path prefix to apply to matching controller methods.protected PathMatchConfigurer
WebMvcConfigurationSupport.getPathMatchConfigurer()
Callback for building thePathMatchConfigurer
.PathMatchConfigurer.setPathMatcher
(PathMatcher pathMatcher) Set the PathMatcher to use for String pattern matching.PathMatchConfigurer.setPatternParser
(PathPatternParser patternParser) Set thePathPatternParser
to parsepatterns
with for URL path matching.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) Deprecated.as of 6.0, seePathPatternParser.setMatchOptionalTrailingSeparator(boolean)
Modifier and TypeMethodDescriptionprotected void
DelegatingWebMvcConfiguration.configurePathMatch
(PathMatchConfigurer configurer) protected void
WebMvcConfigurationSupport.configurePathMatch
(PathMatchConfigurer configurer) Override this method to configure path matching options.default void
WebMvcConfigurer.configurePathMatch
(PathMatchConfigurer configurer) Help with configuringHandlerMapping
path matching options such as whether to use parsedPathPatterns
or String pattern matching withPathMatcher
, whether to match trailing slashes, and more.