Package | Description |
---|---|
org.springframework.boot |
Core Spring Boot classes.
|
org.springframework.boot.builder |
Fluent 'builder' style API to construct a
SpringApplication . |
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.
|