Skip to content

Commit d0a2a8e

Browse files
committed
Document ConfigurableServletWebServerFactory variants
Closes gh-13083
1 parent bf56ec4 commit d0a2a8e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2982,8 +2982,7 @@ If you need to programmatically configure your embedded servlet container, you c
29822982
register a Spring bean that implements the `WebServerFactoryCustomizer` interface.
29832983
`WebServerFactoryCustomizer` provides access to the
29842984
`ConfigurableServletWebServerFactory`, which includes numerous customization setter
2985-
methods. Dedicated variants exist for Tomcat, Jetty, and Undertow. The following example
2986-
shows programmatically setting the port:
2985+
methods. The following example shows programmatically setting the port:
29872986

29882987
[source,java,indent=0]
29892988
----
@@ -3002,7 +3001,9 @@ shows programmatically setting the port:
30023001
}
30033002
----
30043003

3005-
3004+
NOTE: `TomcatServletWebServerFactory`, `JettyServletWebServerFactory` and `UndertowServletWebServerFactory`
3005+
are dedicated variants of `ConfigurableServletWebServerFactory` that have additional customization setter methods
3006+
for Tomcat, Jetty and Undertow respectively.
30063007

30073008
[[boot-features-customizing-configurableservletwebserverfactory-directly]]
30083009
===== Customizing ConfigurableServletWebServerFactory Directly

0 commit comments

Comments
 (0)