程序包 org.springframework.boot.web.context
Web integrations with Spring's
ApplicationContext
.接口概要 接口 说明 ConfigurableWebServerApplicationContext SPI interface to be implemented by most if not allweb server application contexts
.WebServerApplicationContext Interface to be implemented byapplication contexts
that create and manage the lifecycle of an embeddedWebServer
.类概要 类 说明 ServerPortInfoApplicationContextInitializer ApplicationContextInitializer
that setsEnvironment
properties for the ports thatWebServer
servers are actually listening on.WebServerInitializedEvent Event to be published after the application context is refreshed and theWebServer
is ready.WebServerPortFileWriter AnApplicationListener
that saves embedded server port and management port into file.