Package | Description |
---|---|
org.springframework.boot |
Core Spring Boot classes.
|
org.springframework.boot.builder |
Fluent 'builder' style API to construct a
SpringApplication . |
org.springframework.boot.web.context |
Web integrations with Spring's
ApplicationContext . |
Modifier and Type | Method and Description |
---|---|
WebApplicationType |
SpringApplication.getWebApplicationType()
Returns the type of web application that is being run.
|
static WebApplicationType |
WebApplicationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebApplicationType[] |
WebApplicationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableApplicationContext |
ApplicationContextFactory.create(WebApplicationType webApplicationType)
|
void |
SpringApplication.setWebApplicationType(WebApplicationType webApplicationType)
Sets the type of web application to be run.
|
Modifier and Type | Method and Description |
---|---|
SpringApplicationBuilder |
SpringApplicationBuilder.web(WebApplicationType webApplicationType)
Flag to explicitly request a specific type of web application.
|
Modifier and Type | Method and Description |
---|---|
WebApplicationType |
MissingWebServerFactoryBeanException.getWebApplicationType()
Returns the type of web application for which a
WebServerFactory bean was
missing. |
Constructor and Description |
---|
MissingWebServerFactoryBeanException(Class<? extends WebServerApplicationContext> webServerApplicationContextClass,
Class<? extends WebServerFactory> webServerFactoryClass,
WebApplicationType webApplicationType)
Create a new
MissingWebServerFactoryBeanException . |