public class PathMatchConfigurer extends Object
HandlerMapping
's with path matching options.Constructor and Description |
---|
PathMatchConfigurer() |
Modifier and Type | Method and Description |
---|---|
protected Boolean |
isUseCaseSensitiveMatch() |
protected Boolean |
isUseTrailingSlashMatch() |
PathMatchConfigurer |
setUseCaseSensitiveMatch(Boolean caseSensitiveMatch)
Whether to match to URLs irrespective of their case.
|
PathMatchConfigurer |
setUseTrailingSlashMatch(Boolean trailingSlashMatch)
Whether to match to URLs irrespective of the presence of a trailing slash.
|
public PathMatchConfigurer setUseCaseSensitiveMatch(Boolean caseSensitiveMatch)
The default value is false
.
public PathMatchConfigurer setUseTrailingSlashMatch(Boolean trailingSlashMatch)
The default value is true
.