Class JettyAutoConfiguration


  • @AutoConfiguration
    @EnableConfigurationProperties(JettyProperties.class)
    @ConditionalOnClass(org.eclipse.jetty.server.Server.class)
    @ConditionalOnWebApplication(type=SERVLET)
    public class JettyAutoConfiguration
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.boot.web.server.WebServerFactoryCustomizer<org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory> jsfJettyFactoryCustomizer()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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()