As of 5.3 the path is obtained through the static method + * {@link UrlPathHelper#getResolvedLookupPath} and a {@code UrlPathHelper} + * does not need to be passed in. * {@link PathMatcher}, and whether to match trailing slashes. * {@link #WebRequestPatternsRule(String[], boolean, PathMatcher)}. */ @@ -100,7 +107,11 @@ public WebRequestPatternsRule(String[] patterns, @Nullable PathMatcher pathMatch /** * Variant of {@link #WebRequestPatternsRule(String...)} with a - * {@link PathMatcher}, and flags for matching with suffixes and trailing slashes. + * {@link UrlPathHelper} and a {@link PathMatcher}, and flags for matching + * with suffixes and trailing slashes. + *
As of 5.3 the path is obtained through the static method
+ * {@link UrlPathHelper#getResolvedLookupPath} and a {@code UrlPathHelper}
+ * does not need to be passed in.
*/
public WebRequestPatternsRule(String[] patterns, @Nullable PathMatcher pathMatcher, boolean useSuffixPatternMatch, boolean useTrailingSlashMatch) {
this(patterns, pathMatcher, useSuffixPatternMatch, useTrailingSlashMatch, null);
@@ -108,8 +119,8 @@ public WebRequestPatternsRule(String[] patterns, @Nullable PathMatcher pathMatch
/**
* Variant of {@link #WebRequestPatternsRule(String...)} with a
- * {@link PathMatcher}, and flags for matching with suffixes and trailing
- * slashes, along with specific extensions.
+ * {@link UrlPathHelper} and a {@link PathMatcher}, and flags for matching
+ * with suffixes and trailing slashes, along with specific extensions.
*
* @param patterns
* @param pathMatcher
diff --git a/pom.xml b/pom.xml
index 956fb212d..8a7c7c901 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@