Browse Source

Merge branch '1.5.x' into 2.0.x

pull/13066/merge
Andy Wilkinson 8 years ago
parent
commit
fbf974478a
  1. 7
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBean.java
  2. 5
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/ServletRegistrationBean.java

7
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/AbstractFilterRegistrationBean.java

@ -154,8 +154,8 @@ public abstract class AbstractFilterRegistrationBean<T extends Filter> @@ -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> @@ -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) {

5
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/servlet/ServletRegistrationBean.java

@ -129,7 +129,8 @@ public class ServletRegistrationBean<T extends Servlet> @@ -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> @@ -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…
Cancel
Save