Package | Description |
---|---|
org.springframework.boot.autoconfigure.web |
Auto-configuration for common web concerns.
|
org.springframework.boot.web.embedded.netty |
Embedded reactive web server implementation backed by Netty.
|
org.springframework.boot.web.embedded.tomcat |
Embedded reactive and servlet web server implementations backed by Tomcat.
|
org.springframework.boot.web.server |
Support for embedded web servers.
|
Modifier and Type | Method and Description |
---|---|
Shutdown |
ServerProperties.getShutdown() |
Modifier and Type | Method and Description |
---|---|
void |
ServerProperties.setShutdown(Shutdown shutdown) |
Modifier and Type | Method and Description |
---|---|
Shutdown |
NettyReactiveWebServerFactory.getShutdown() |
Modifier and Type | Method and Description |
---|---|
void |
NettyReactiveWebServerFactory.setShutdown(Shutdown shutdown) |
Constructor and Description |
---|
NettyWebServer(reactor.netty.http.server.HttpServer httpServer,
ReactorHttpHandlerAdapter handlerAdapter,
Duration lifecycleTimeout,
Shutdown shutdown) |
Constructor and Description |
---|
TomcatWebServer(Tomcat tomcat,
boolean autoStart,
Shutdown shutdown)
Create a new
TomcatWebServer instance. |
Modifier and Type | Method and Description |
---|---|
Shutdown |
AbstractConfigurableWebServerFactory.getShutdown()
Returns the shutdown configuration that will be applied to the server.
|
static Shutdown |
Shutdown.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Shutdown[] |
Shutdown.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfigurableWebServerFactory.setShutdown(Shutdown shutdown) |
default void |
ConfigurableWebServerFactory.setShutdown(Shutdown shutdown)
Sets the shutdown configuration that will be applied to the server.
|