Skip to content

Commit 18f9dc9

Browse files
committed
Document that customizers are not applied to additional connectors
Closes gh-38183
1 parent 54313d1 commit 18f9dc9

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatReactiveWebServerFactory.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,10 @@ public Collection<TomcatProtocolHandlerCustomizer<?>> getTomcatProtocolHandlerCu
331331
}
332332

333333
/**
334-
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP
334+
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP.
335+
* <p>
336+
* {@link #getTomcatConnectorCustomizers Connector customizers} are not applied to
337+
* connectors added this way.
335338
* @param connectors the connectors to add
336339
* @since 2.2.0
337340
*/

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/tomcat/TomcatServletWebServerFactory.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,10 @@ public Collection<TomcatProtocolHandlerCustomizer<?>> getTomcatProtocolHandlerCu
697697
}
698698

699699
/**
700-
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP
700+
* Add {@link Connector}s in addition to the default connector, e.g. for SSL or AJP.
701+
* <p>
702+
* {@link #getTomcatConnectorCustomizers Connector customizers} are not applied to
703+
* connectors added this way.
701704
* @param connectors the connectors to add
702705
*/
703706
public void addAdditionalTomcatConnectors(Connector... connectors) {

0 commit comments

Comments
 (0)