70.12 Configure Jetty
Generally you can follow the advice from Section 69.8, “Discover built-in options for external properties” about @ConfigurationProperties
(ServerProperties
is the main one here), but also look at EmbeddedServletContainerCustomizer
. The Jetty APIs are quite rich so once you have access to the JettyEmbeddedServletContainerFactory
you can modify it in a number of ways. Or the nuclear option is to add your own JettyEmbeddedServletContainerFactory
.