Uses of Enum Class
org.springframework.boot.WebApplicationType
Packages that use WebApplicationType
Package
Description
Core Spring Boot classes.
Core classes for auto-configuration of actuator web concerns.
Fluent 'builder' style API to construct a
SpringApplication
.Web integrations with Spring's
ApplicationContext
.-
Uses of WebApplicationType in org.springframework.boot
Methods in org.springframework.boot that return WebApplicationTypeModifier and TypeMethodDescriptionSpringApplication.getWebApplicationType()
Returns the type of web application that is being run.static WebApplicationType
Returns the enum constant of this class with the specified name.static WebApplicationType[]
WebApplicationType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.boot with parameters of type WebApplicationTypeModifier and TypeMethodDescriptionApplicationContextFactory.create
(WebApplicationType webApplicationType) default ConfigurableEnvironment
ApplicationContextFactory.createEnvironment
(WebApplicationType webApplicationType) Create a newEnvironment
to be set on thecreated
application context.default Class<? extends ConfigurableEnvironment>
ApplicationContextFactory.getEnvironmentType
(WebApplicationType webApplicationType) Return theEnvironment
type expected to be set on thecreated
application context.void
SpringApplication.setWebApplicationType
(WebApplicationType webApplicationType) Sets the type of web application to be run. -
Uses of WebApplicationType in org.springframework.boot.actuate.autoconfigure.web
Constructors in org.springframework.boot.actuate.autoconfigure.web with parameters of type WebApplicationTypeModifierConstructorDescriptionManagementContextFactory
(WebApplicationType webApplicationType, Class<? extends WebServerFactory> webServerFactoryClass, Class<?>... autoConfigurationClasses) -
Uses of WebApplicationType in org.springframework.boot.builder
Methods in org.springframework.boot.builder with parameters of type WebApplicationTypeModifier and TypeMethodDescriptionSpringApplicationBuilder.web
(WebApplicationType webApplicationType) Flag to explicitly request a specific type of web application. -
Uses of WebApplicationType in org.springframework.boot.web.context
Methods in org.springframework.boot.web.context that return WebApplicationTypeModifier and TypeMethodDescriptionMissingWebServerFactoryBeanException.getWebApplicationType()
Returns the type of web application for which aWebServerFactory
bean was missing.Constructors in org.springframework.boot.web.context with parameters of type WebApplicationTypeModifierConstructorDescriptionMissingWebServerFactoryBeanException
(Class<? extends WebServerApplicationContext> webServerApplicationContextClass, Class<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) Create a newMissingWebServerFactoryBeanException
.