Class JettyAutoConfiguration


  • @Configuration(proxyBeanMethods=false)
    @EnableConfigurationProperties(JettyProperties.class)
    @ConditionalOnClass(org.eclipse.jetty.server.Server.class)
    @ConditionalOnWebApplication(type=SERVLET)
    public class JettyAutoConfiguration
    extends Object
    Spring Boot Auto Configuration of Jetty. Taken from https://github.com/ghillert/spring-boot-jsp-demo/blob/jetty/src/main/java/com/hillert/JspDemoApplication.java#L78 and from https://github.com/eclipse/jetty.project/issues/420 and from https://github.com/spring-projects/spring-boot/pull/5290
    • Constructor Detail

      • JettyAutoConfiguration

        public JettyAutoConfiguration​(JettyProperties jettyProperties)
    • Method Detail

      • jsfJettyFactoryCustomizer

        @Bean
        public org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory> jsfJettyFactoryCustomizer()