Class EmbeddedTomcatAutoConfiguration.EmbeddedTomcat

  • Enclosing class:
    EmbeddedTomcatAutoConfiguration

    @Profile("!test")
    @Configuration
    @ConditionalOnClass({javax.servlet.Servlet.class,org.apache.catalina.startup.Tomcat.class,org.apache.coyote.UpgradeProtocol.class})
    @ConditionalOnMissingBean(value=org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.class,
                              search=CURRENT)
    public static class EmbeddedTomcatAutoConfiguration.EmbeddedTomcat
    extends Object
    • Constructor Detail

      • EmbeddedTomcat

        public EmbeddedTomcat()
    • Method Detail

      • tomcatEmbeddedServletContainerFactory

        @Bean
        public org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory tomcatEmbeddedServletContainerFactory()
                                                                                                                         throws UnknownHostException
        Throws:
        UnknownHostException