File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
spring-boot/src/main/java/org/springframework/boot/web/servlet Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2016 the original author or authors.
2
+ * Copyright 2012-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -157,16 +157,17 @@ public void setUrlPatterns(Collection<String> urlPatterns) {
157
157
}
158
158
159
159
/**
160
- * Return a mutable collection of URL patterns that the filter will be registered
161
- * against.
160
+ * Return a mutable collection of URL patterns, as defined in the Servlet
161
+ * specification, that the filter will be registered against.
162
162
* @return the URL patterns
163
163
*/
164
164
public Collection <String > getUrlPatterns () {
165
165
return this .urlPatterns ;
166
166
}
167
167
168
168
/**
169
- * Add URL patterns that the filter will be registered against.
169
+ * Add URL patterns, as defined in the Servlet specification, that the filter will be
170
+ * registered against.
170
171
* @param urlPatterns the URL patterns
171
172
*/
172
173
public void addUrlPatterns (String ... urlPatterns ) {
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2012-2016 the original author or authors.
2
+ * Copyright 2012-2018 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -128,15 +128,16 @@ public void setUrlMappings(Collection<String> urlMappings) {
128
128
}
129
129
130
130
/**
131
- * Return a mutable collection of the URL mappings for the servlet.
131
+ * Return a mutable collection of the URL mappings, as defined in the Servlet
132
+ * specification, for the servlet.
132
133
* @return the urlMappings
133
134
*/
134
135
public Collection <String > getUrlMappings () {
135
136
return this .urlMappings ;
136
137
}
137
138
138
139
/**
139
- * Add URL mappings for the servlet.
140
+ * Add URL mappings, as defined in the Servlet specification, for the servlet.
140
141
* @param urlMappings the mappings to add
141
142
* @see #setUrlMappings(Collection)
142
143
*/
You can’t perform that action at this time.
0 commit comments