Uses of Enum Class
org.springframework.boot.WebApplicationType
Packages that use WebApplicationType
Package
Description
Core Spring Boot classes.
Actuator web server support.
Fluent 'builder' style API to construct a
SpringApplication.Web integrations with Spring's
ApplicationContext.-
Uses of WebApplicationType in org.springframework.boot
Subclasses with type arguments of type WebApplicationType in org.springframework.bootModifier and TypeClassDescriptionenumAn enumeration of possible types of web application.Methods in org.springframework.boot that return WebApplicationTypeModifier and TypeMethodDescriptionstatic WebApplicationTypeWebApplicationType.deduce()Deduce theWebApplicationTypefrom the current classpath.@Nullable WebApplicationTypeWebApplicationType.Deducer.deduceWebApplicationType()Deduce the web application type.@Nullable WebApplicationTypeSpringApplication.getWebApplicationType()Returns the type of web application that is being run.static WebApplicationTypeReturns 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 TypeMethodDescription@Nullable ConfigurableApplicationContextApplicationContextFactory.create(@Nullable WebApplicationType webApplicationType) default @Nullable ConfigurableEnvironmentApplicationContextFactory.createEnvironment(@Nullable WebApplicationType webApplicationType) Create a newEnvironmentto be set on thecreatedapplication context.default @Nullable Class<? extends ConfigurableEnvironment> ApplicationContextFactory.getEnvironmentType(@Nullable WebApplicationType webApplicationType) Return theEnvironmenttype expected to be set on thecreatedapplication context.voidSpringApplication.setWebApplicationType(WebApplicationType webApplicationType) Sets the type of web application to be run. -
Uses of WebApplicationType in org.springframework.boot.actuate.autoconfigure.web.server
Constructors in org.springframework.boot.actuate.autoconfigure.web.server 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.server.context
Methods in org.springframework.boot.web.server.context that return WebApplicationTypeModifier and TypeMethodDescriptionMissingWebServerFactoryBeanException.getWebApplicationType()Returns the type of web application for which aWebServerFactorybean was missing.Constructors in org.springframework.boot.web.server.context with parameters of type WebApplicationTypeModifierConstructorDescriptionMissingWebServerFactoryBeanException(Class<? extends WebServerApplicationContext> webServerApplicationContextClass, Class<? extends WebServerFactory> webServerFactoryClass, WebApplicationType webApplicationType) Create a newMissingWebServerFactoryBeanException.