diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatReactiveWebServerFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatReactiveWebServerFactory.java index ab31ecce7398..40dbd18cb06e 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatReactiveWebServerFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatReactiveWebServerFactory.java @@ -333,7 +333,10 @@ public Collection> getTomcatProtocolHandlerCu } /** - * 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. + *

+ * {@link #getTomcatConnectorCustomizers Connector customizers} are not applied to + * connectors added this way. * @param connectors the connectors to add * @since 2.2.0 */ diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java index ca5e6fa1d413..d5853b6f14f5 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java @@ -705,7 +705,10 @@ public Collection> getTomcatProtocolHandlerCu } /** - * 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. + *

+ * {@link #getTomcatConnectorCustomizers Connector customizers} are not applied to + * connectors added this way. * @param connectors the connectors to add */ public void addAdditionalTomcatConnectors(Connector... connectors) {