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 thePathMatchConfigurer
.PathMatchConfigurer
PathMatchConfigurer. setPathMatcher(PathMatcher pathMatcher)
Set the PathMatcher implementation to use for matching URL paths against registered URL patterns.PathMatchConfigurer
PathMatchConfigurer. setUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for resolution of lookup paths.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)
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 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)
Helps with configuring HandlerMappings path matching options such as trailing slash match, suffix registration, path matcher and path helper.void
WebMvcConfigurerAdapter. configurePathMatch(PathMatchConfigurer configurer)
Deprecated.Helps with configuring HandlerMappings path matching options such as trailing slash match, suffix registration, path matcher and path helper.