# 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
`PathMatchConfigurer`
PathMatchConfigurer.`addPathPrefix(String prefix, Predicate<Class<?>> predicate)`
Configure a path prefix to apply to matching controller methods.
`protected PathMatchConfigurer`
WebMvcConfigurationSupport.`getPathMatchConfigurer()`
Callback for building the `PathMatchConfigurer`.
`PathMatchConfigurer`
PathMatchConfigurer.`setPathMatcher(org.springframework.util.PathMatcher pathMatcher)`
Set the PathMatcher to use for String pattern matching.
`PathMatchConfigurer`
PathMatchConfigurer.`setPatternParser(org.springframework.web.util.pattern.PathPatternParser patternParser)`
Set the `PathPatternParser` to parse `patterns` with for URL path matching.
`PathMatchConfigurer`
PathMatchConfigurer.`setUrlPathHelper(org.springframework.web.util.UrlPathHelper urlPathHelper)`
Set the UrlPathHelper to use to resolve the mapping path for the application.
`PathMatchConfigurer`
PathMatchConfigurer.`setUseRegisteredSuffixPatternMatch(Boolean registeredSuffixPatternMatch)`
Deprecated.
as of 5.2.4.
`PathMatchConfigurer`
PathMatchConfigurer.`setUseSuffixPatternMatch(Boolean suffixPatternMatch)`
Deprecated.
as of 5.2.4.
`PathMatchConfigurer`
PathMatchConfigurer.`setUseTrailingSlashMatch(Boolean trailingSlashMatch)`
Deprecated.
as of 6.0, see `PathPatternParser.setMatchOptionalTrailingSeparator(boolean)`
Methods in org.springframework.web.servlet.config.annotation with parameters of type PathMatchConfigurer
Modifier and Type
Method
Description
`protected 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 configuring `HandlerMapping` path matching options such as whether to use parsed `PathPatterns` or String pattern matching with `PathMatcher`, whether to match trailing slashes, and more.