This commit is contained in:
Madhura Bhave
2017-07-14 15:25:40 -07:00
parent 4e8592ffc5
commit 93caad5556
2 changed files with 7 additions and 7 deletions

View File

@@ -571,7 +571,7 @@ public class JettyServletWebServerFactory extends AbstractServletWebServerFactor
/**
* Sets {@link JettyServerCustomizer}s that will be applied to the {@link Server}
* before it is started. Calling this method will replace any existing configurations.
* before it is started. Calling this method will replace any existing customizers.
* @param customizers the Jetty customizers to apply
*/
public void setServerCustomizers(
@@ -581,9 +581,9 @@ public class JettyServletWebServerFactory extends AbstractServletWebServerFactor
}
/**
* Returns a mutable collection of Jetty {@link Configuration}s that will be applied
* to the {@link WebAppContext} before the server is created.
* @return the Jetty {@link Configuration}s
* Returns a mutable collection of Jetty {@link JettyServerCustomizer}s that will be applied
* to the {@link Server} before the it is created.
* @return the {@link JettyServerCustomizer}s
*/
public Collection<JettyServerCustomizer> getServerCustomizers() {
return this.jettyServerCustomizers;

View File

@@ -699,7 +699,7 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
}
/**
* Add {@link TomcatContextCustomizer}s that should be added to the Tomcat
* Add {@link TomcatConnectorCustomizer}s that should be added to the Tomcat
* {@link Connector}.
* @param tomcatConnectorCustomizers the customizers to add
*/
@@ -712,8 +712,8 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
/**
* Returns a mutable collection of the {@link TomcatConnectorCustomizer}s that will be
* applied to the Tomcat {@link Context} .
* @return the listeners that will be applied
* applied to the Tomcat {@link Connector} .
* @return the customizers that will be applied
*/
public Collection<TomcatConnectorCustomizer> getTomcatConnectorCustomizers() {
return this.tomcatConnectorCustomizers;