public interface ApplicationConfiguration extends AbstractConfiguration
Configuration is based on VaadinContext which provides application
level data in contrast to DeploymentConfiguration which provides a
Servlet level configuration.
| Modifier and Type | Method and Description |
|---|---|
default boolean |
disableAutomaticServletRegistration()
Determines if Flow should automatically register servlets.
|
static ApplicationConfiguration |
get(VaadinContext context)
Gets a configuration instance for the given {code context}.
|
VaadinContext |
getContext()
The context which the configuration is based on.
|
FallbackChunk |
getFallbackChunk()
Gets a fallback chunk for the application or
null if it's not
available. |
Enumeration<String> |
getPropertyNames()
Returns the names of the configuration properties as an
Enumeration, or an empty Enumeration if there
are o initialization parameters. |
boolean |
isDevModeSessionSerializationEnabled()
Checks if development mode session serialization is enabled or not.
|
enableDevServer, getBooleanProperty, getBuildFolder, getFlowResourcesFolder, getJavaResourceFolder, getStringProperty, isGlobalPnpm, isPnpmEnabled, isProductionMode, isUsageStatisticsEnabled, isXsrfProtectionEnabled, reuseDevServer, useV14Bootstrapstatic ApplicationConfiguration get(VaadinContext context)
context - the context to get the configuration forcontextEnumeration<String> getPropertyNames()
Enumeration, or an empty Enumeration if there
are o initialization parameters.EnumerationVaadinContext getContext()
FallbackChunk getFallbackChunk()
null if it's not
available.null.boolean isDevModeSessionSerializationEnabled()
Disabling session serialization means all its
UI instances won't be serialized. This
might be needed if one or more UI'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.
true if dev mode session serialization is enabled,
false otherwisedefault boolean disableAutomaticServletRegistration()
ServletDeployer javadoc.
User can explicitly disable automatic servlet registration by setting the
InitParameters.DISABLE_AUTOMATIC_SERVLET_REGISTRATION property to
true.true if Flow should not automatically register servletsServletDeployerCopyright © 2023. All rights reserved.