Class ApplicationServletEnvironment
java.lang.Object
org.springframework.core.env.AbstractEnvironment
org.springframework.core.env.StandardEnvironment
org.springframework.web.context.support.StandardServletEnvironment
org.springframework.boot.web.context.servlet.ApplicationServletEnvironment
- All Implemented Interfaces:
org.springframework.core.env.ConfigurableEnvironment, org.springframework.core.env.ConfigurablePropertyResolver, org.springframework.core.env.Environment, org.springframework.core.env.PropertyResolver, org.springframework.web.context.ConfigurableWebEnvironment
public class ApplicationServletEnvironment
extends org.springframework.web.context.support.StandardServletEnvironment
StandardServletEnvironment for typical use in a typical
SpringApplication.- Since:
- 4.0.0
-
Field Summary
Fields inherited from class org.springframework.web.context.support.StandardServletEnvironment
JNDI_PROPERTY_SOURCE_NAME, SERVLET_CONFIG_PROPERTY_SOURCE_NAME, SERVLET_CONTEXT_PROPERTY_SOURCE_NAMEFields inherited from class org.springframework.core.env.StandardEnvironment
SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME, SYSTEM_PROPERTIES_PROPERTY_SOURCE_NAMEFields inherited from class org.springframework.core.env.AbstractEnvironment
ACTIVE_PROFILES_PROPERTY_NAME, DEFAULT_PROFILES_PROPERTY_NAME, IGNORE_GETENV_PROPERTY_NAME, logger, RESERVED_DEFAULT_PROFILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.env.ConfigurablePropertyResolvercreatePropertyResolver(org.springframework.core.env.MutablePropertySources propertySources) protected @Nullable Stringprotected @Nullable StringMethods inherited from class org.springframework.web.context.support.StandardServletEnvironment
customizePropertySources, initPropertySourcesMethods inherited from class org.springframework.core.env.AbstractEnvironment
acceptsProfiles, acceptsProfiles, addActiveProfile, containsProperty, doGetActiveProfiles, doGetDefaultProfiles, getActiveProfiles, getConversionService, getDefaultProfiles, getProperty, getProperty, getProperty, getProperty, getPropertyResolver, getPropertySources, getRequiredProperty, getRequiredProperty, getReservedDefaultProfiles, getSystemEnvironment, getSystemProperties, isProfileActive, merge, resolvePlaceholders, resolveRequiredPlaceholders, setActiveProfiles, setConversionService, setDefaultProfiles, setEscapeCharacter, setIgnoreUnresolvableNestedPlaceholders, setPlaceholderPrefix, setPlaceholderSuffix, setRequiredProperties, setValueSeparator, suppressGetenvAccess, toString, validateProfile, validateRequiredPropertiesMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.core.env.ConfigurableEnvironment
addActiveProfile, getPropertySources, getSystemEnvironment, getSystemProperties, merge, setActiveProfiles, setDefaultProfilesMethods inherited from interface org.springframework.core.env.ConfigurablePropertyResolver
getConversionService, setConversionService, setEscapeCharacter, setIgnoreUnresolvableNestedPlaceholders, setPlaceholderPrefix, setPlaceholderSuffix, setRequiredProperties, setValueSeparator, validateRequiredPropertiesMethods inherited from interface org.springframework.core.env.Environment
acceptsProfiles, acceptsProfiles, getActiveProfiles, getDefaultProfiles, matchesProfilesMethods inherited from interface org.springframework.core.env.PropertyResolver
containsProperty, getProperty, getProperty, getProperty, getProperty, getRequiredProperty, getRequiredProperty, resolvePlaceholders, resolveRequiredPlaceholders
-
Constructor Details
-
ApplicationServletEnvironment
public ApplicationServletEnvironment()
-
-
Method Details
-
doGetActiveProfilesProperty
- Overrides:
doGetActiveProfilesPropertyin classorg.springframework.core.env.AbstractEnvironment
-
doGetDefaultProfilesProperty
- Overrides:
doGetDefaultProfilesPropertyin classorg.springframework.core.env.AbstractEnvironment
-
createPropertyResolver
protected org.springframework.core.env.ConfigurablePropertyResolver createPropertyResolver(org.springframework.core.env.MutablePropertySources propertySources) - Overrides:
createPropertyResolverin classorg.springframework.core.env.AbstractEnvironment
-