@@ -93,7 +93,8 @@ public Map<String, VersionStrategy> getStrategyMap() {
93
93
* default strategy to use except when it cannot be, for example when using
94
94
* JavaScript module loaders, use {@link #addFixedVersionStrategy} instead
95
95
* for serving JavaScript files.
96
- * @param pathPatterns one or more resource URL path patterns
96
+ * @param pathPatterns one or more resource URL path patterns,
97
+ * relative to the pattern configured with the resource handler
97
98
* @return the current instance for chained method invocation
98
99
* @see ContentVersionStrategy
99
100
*/
@@ -115,7 +116,8 @@ public VersionResourceResolver addContentVersionStrategy(String... pathPatterns)
115
116
* will also cofigure automatically a {@code "/v1.0.0/js/**"} with {@code "v1.0.0"} the
116
117
* {@code version} String given as an argument.
117
118
* @param version a version string
118
- * @param pathPatterns one or more resource URL path patterns
119
+ * @param pathPatterns one or more resource URL path patterns,
120
+ * relative to the pattern configured with the resource handler
119
121
* @return the current instance for chained method invocation
120
122
* @see FixedVersionStrategy
121
123
*/
@@ -136,7 +138,8 @@ public VersionResourceResolver addFixedVersionStrategy(String version, String...
136
138
* Register a custom VersionStrategy to apply to resource URLs that match the
137
139
* given path patterns.
138
140
* @param strategy the custom strategy
139
- * @param pathPatterns one or more resource URL path patterns
141
+ * @param pathPatterns one or more resource URL path patterns,
142
+ * relative to the pattern configured with the resource handler
140
143
* @return the current instance for chained method invocation
141
144
* @see VersionStrategy
142
145
*/
0 commit comments