com.vaadin.flow.server.startup.
Class DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl
All Implemented Interfaces:
AbstractConfiguration, ApplicationConfiguration, Serializable
Enclosing class:
See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedApplicationConfigurationImpl(VaadinContext context, Map<String, String> properties) -
Method Summary
Modifier and TypeMethodDescriptionThe context which the configuration is based on.
Returns the names of the configuration properties as an
Enumeration, or an emptyEnumerationif there are o initialization parameters.booleanChecks if development mode session serialization is enabled or not.
booleanReturns whether Vaadin is in production mode.
Methods inherited from class com.vaadin.flow.server.AbstractPropertyConfiguration
getApplicationOrSystemProperty, getApplicationProperty, getApplicationProperty, getBooleanProperty, getProperties, getStringProperty, getSystemPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.server.AbstractConfiguration
frontendHotdeploy, getBooleanProperty, getBuildFolder, getFrontendFolder, getJavaResourceFolder, getJavaSourceFolder, getMode, getProjectFolder, getStringProperty, isBunEnabled, isGlobalPnpm, isPnpmEnabled, isUsageStatisticsEnabled, isXsrfProtectionEnabled, reuseDevServerMethods inherited from interface com.vaadin.flow.server.startup.ApplicationConfiguration
disableAutomaticServletRegistration
-
Constructor Details
-
ApplicationConfigurationImpl
-
-
Method Details
-
isProductionMode
public boolean isProductionMode()Description copied from interface:
AbstractConfigurationReturns whether Vaadin is in production mode.
Specified by:
isProductionModein interfaceAbstractConfigurationReturns:
true if in production mode, false otherwise.
-
getPropertyNames
Description copied from interface:
ApplicationConfigurationReturns the names of the configuration properties as an
Enumeration, or an emptyEnumerationif there are o initialization parameters.Specified by:
getPropertyNamesin interfaceApplicationConfigurationReturns:
configuration properties as a
Enumeration -
getContext
Description copied from interface:
ApplicationConfigurationThe context which the configuration is based on.
Specified by:
getContextin interfaceApplicationConfigurationReturns:
the vaadin context
-
isDevModeSessionSerializationEnabled
public boolean isDevModeSessionSerializationEnabled()Description copied from interface:
ApplicationConfigurationChecks if development mode session serialization is enabled or not.
Disabling session serialization means all its
UIinstances won't be serialized. This might be needed if one or moreUI's are not serializable and, thus, the whole http session might be discarded, making an authentication or other sensitive data stored in the session to get lost, which is not acceptable in most of the cases.By default session serialization is disabled in development mode.
Specified by:
isDevModeSessionSerializationEnabledin interfaceApplicationConfigurationReturns:
trueif dev mode session serialization is enabled,falseotherwise
-