You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.server.startup.

Class DefaultApplicationConfigurationFactory.ApplicationConfigurationImpl

    • Method Detail

      • isDevModeSessionSerializationEnabled

        public boolean isDevModeSessionSerializationEnabled()

        Description copied from interface: ApplicationConfiguration

        Checks if development mode session serialization is enabled or not.

        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.

        Specified by:

        isDevModeSessionSerializationEnabled in interface ApplicationConfiguration

        Returns:

        true if dev mode session serialization is enabled, false otherwise