Create beginnings of spring-boot-tomcat module
This commit is contained in:
committed by
Phillip Webb
parent
0337830615
commit
349f296d26
@@ -30,8 +30,8 @@ import org.apache.catalina.Host;
|
||||
import org.apache.catalina.core.StandardContext;
|
||||
import org.apache.catalina.startup.Tomcat;
|
||||
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
|
||||
import org.springframework.boot.web.server.servlet.ServletContextInitializer;
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
package org.springframework.boot.docs.howto.webserver.configure;
|
||||
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
|
||||
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
|
||||
@@ -18,8 +18,8 @@ package org.springframework.boot.docs.howto.webserver.enablemultipleconnectorsin
|
||||
|
||||
import org.apache.catalina.connector.Connector;
|
||||
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
|
||||
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ package org.springframework.boot.docs.web.servlet.embeddedcontainer.customizing.
|
||||
|
||||
import java.time.Duration;
|
||||
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory;
|
||||
import org.springframework.boot.web.server.WebServerFactoryCustomizer;
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
|
||||
@@ -27,7 +27,7 @@ import org.apache.catalina.Host
|
||||
import org.apache.catalina.core.StandardContext
|
||||
import org.apache.catalina.startup.Tomcat.FixContextListener
|
||||
import org.springframework.boot.web.server.servlet.ServletContextInitializer
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import java.io.IOException
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package org.springframework.boot.docs.howto.webserver.configure
|
||||
|
||||
import org.springframework.boot.web.server.WebServerFactoryCustomizer
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory
|
||||
import org.springframework.stereotype.Component
|
||||
|
||||
@Component
|
||||
|
||||
@@ -18,7 +18,7 @@ package org.springframework.boot.docs.howto.webserver.enablemultipleconnectorsin
|
||||
|
||||
import org.apache.catalina.connector.Connector
|
||||
import org.springframework.boot.web.server.WebServerFactoryCustomizer
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package org.springframework.boot.docs.web.servlet.embeddedcontainer.customizing.programmatic
|
||||
|
||||
import org.springframework.boot.web.server.WebServerFactoryCustomizer
|
||||
import org.springframework.boot.web.server.servlet.tomcat.TomcatServletWebServerFactory
|
||||
import org.springframework.boot.tomcat.servlet.TomcatServletWebServerFactory
|
||||
import org.springframework.stereotype.Component
|
||||
import java.time.Duration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user