Polish
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user