Merge branch '2.0.x'
This commit is contained in:
commit
0b76fc8f8e
|
@ -154,8 +154,8 @@ public abstract class AbstractFilterRegistrationBean<T extends Filter>
|
|||
}
|
||||
|
||||
/**
|
||||
* Return a mutable collection of URL patterns that the filter will be registered
|
||||
* against.
|
||||
* Return a mutable collection of URL patterns, as defined in the Servlet
|
||||
* specification, that the filter will be registered against.
|
||||
* @return the URL patterns
|
||||
*/
|
||||
public Collection<String> getUrlPatterns() {
|
||||
|
@ -163,7 +163,8 @@ public abstract class AbstractFilterRegistrationBean<T extends Filter>
|
|||
}
|
||||
|
||||
/**
|
||||
* Add URL patterns that the filter will be registered against.
|
||||
* Add URL patterns, as defined in the Servlet specification, that the filter will be
|
||||
* registered against.
|
||||
* @param urlPatterns the URL patterns
|
||||
*/
|
||||
public void addUrlPatterns(String... urlPatterns) {
|
||||
|
|
|
@ -129,7 +129,8 @@ public class ServletRegistrationBean<T extends Servlet>
|
|||
}
|
||||
|
||||
/**
|
||||
* Return a mutable collection of the URL mappings for the servlet.
|
||||
* Return a mutable collection of the URL mappings, as defined in the Servlet
|
||||
* specification, for the servlet.
|
||||
* @return the urlMappings
|
||||
*/
|
||||
public Collection<String> getUrlMappings() {
|
||||
|
@ -137,7 +138,7 @@ public class ServletRegistrationBean<T extends Servlet>
|
|||
}
|
||||
|
||||
/**
|
||||
* Add URL mappings for the servlet.
|
||||
* Add URL mappings, as defined in the Servlet specification, for the servlet.
|
||||
* @param urlMappings the mappings to add
|
||||
* @see #setUrlMappings(Collection)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue