Annotation Type VaadinServletConfiguration

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      boolean productionMode
      Whether Vaadin is in production mode.
      Class<? extends UI> ui
      Gets the default UI class to use for the servlet.
      • ui

        @InitParameterName("UI")
        Class<? extends UI> ui
        Gets the default UI class to use for the servlet.
        Returns:
        the default UI class
      • heartbeatInterval

        @InitParameterName("heartbeatInterval")
        int heartbeatInterval
        The number of seconds between heartbeat requests of a UI, or a non-positive number if heartbeat is disabled. The default value is 300 seconds, i.e. 5 minutes.
        Returns:
        the time between heartbeats
        See Also:
        DeploymentConfiguration.getHeartbeatInterval()
        Default:
        300
      • closeIdleSessions

        @InitParameterName("closeIdleSessions")
        boolean closeIdleSessions
        Whether a session should be closed when all its open UIs have been idle for longer than its configured maximum inactivity time. The default value is false.
        Returns:
        true if UIs and sessions receiving only heartbeat requests are eventually closed; false if heartbeat requests extend UI and session lifetime indefinitely
        See Also:
        DeploymentConfiguration.isCloseIdleSessions()
        Default:
        false
      • widgetset

        @InitParameterName("widgetset")
        String widgetset
        The default widgetset to use for the servlet. The default value is "", which will cause com.vaadin.DefaultWidgetSet to be used unless overridden by an init parameter or unless an automatically generated AppWidgetset is used.
        Returns:
        the default widgetset name
        Default:
        ""