Document that customizers are not applied to additional connectors

Closes gh-38183
This commit is contained in:
Moritz Halbritter 2023-11-03 12:27:55 +01:00
parent 54313d1962
commit 18f9dc9b94
2 changed files with 8 additions and 2 deletions

View File

@ -331,7 +331,10 @@ public class TomcatReactiveWebServerFactory extends AbstractReactiveWebServerFac
}
/**
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP.
* <p>
* {@link #getTomcatConnectorCustomizers Connector customizers} are not applied to
* connectors added this way.
* @param connectors the connectors to add
* @since 2.2.0
*/

View File

@ -697,7 +697,10 @@ public class TomcatServletWebServerFactory extends AbstractServletWebServerFacto
}
/**
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP.
* <p>
* {@link #getTomcatConnectorCustomizers Connector customizers} are not applied to
* connectors added this way.
* @param connectors the connectors to add
*/
public void addAdditionalTomcatConnectors(Connector... connectors) {