Class TeamAppsConfiguration


  • public class TeamAppsConfiguration
    extends java.lang.Object
    TODO Explain difference between UI session and HTTP session. TODO Describe UI protocol and back pressure.
    • Constructor Detail

      • TeamAppsConfiguration

        public TeamAppsConfiguration()
    • Method Detail

      • setUiSessionTimeoutMillis

        public void setUiSessionTimeoutMillis​(long uiSessionTimeoutMillis)
        See Also:
        uiSessionTimeoutMillis
      • setUiSessionInactivityTimeoutMillis

        public void setUiSessionInactivityTimeoutMillis​(long uiSessionInactivityTimeoutMillis)
        See Also:
        uiSessionInactivityTimeoutMillis
      • setUiSessionPreInactivityPingMillis

        public void setUiSessionPreInactivityPingMillis​(long uiSessionPreInactivityPingMillis)
        See Also:
        uiSessionPreInactivityPingMillis
      • setKeepaliveMessageIntervalMillis

        public void setKeepaliveMessageIntervalMillis​(long keepaliveMessageIntervalMillis)
        See Also:
        keepaliveMessageIntervalMillis
      • getHttpSessionTimeoutSeconds

        @Deprecated
        public int getHttpSessionTimeoutSeconds()
        Deprecated.
        TeamApps does not care about HTTP sessions anymore. Please set the http session timeout in a different way. This will be removed in some future version.
        See Also:
        httpSessionTimeoutSeconds
      • setHttpSessionTimeoutSeconds

        @Deprecated
        public void setHttpSessionTimeoutSeconds​(int httpSessionTimeoutSeconds)
        Deprecated.
        TeamApps does not care about HTTP sessions anymore. Please set the http session timeout in a different way. This will be removed in some future version. The cleanest way to set HttpSession.setMaxInactiveInterval(int) would be by registering a HttpSessionListener. Also note that the HttpSession is still available via SessionContext.getHttpSession().
        See Also:
        httpSessionTimeoutSeconds
      • setCommandBufferLength

        public void setCommandBufferLength​(int commandBufferLength)
        See Also:
        commandBufferLength
      • setCommandBufferTotalSize

        public void setCommandBufferTotalSize​(int commandBufferTotalSize)
        See Also:
        commandBufferTotalSize
      • setClientMinRequestedCommands

        public void setClientMinRequestedCommands​(int clientMinRequestedCommands)
        See Also:
        clientMinRequestedCommands
      • setClientMaxRequestedCommands

        public void setClientMaxRequestedCommands​(int clientMaxRequestedCommands)
        See Also:
        clientMaxRequestedCommands
      • setClientEventsBufferSize

        public void setClientEventsBufferSize​(int clientEventsBufferSize)
        See Also:
        clientEventsBufferSize
      • setMaxUiClientMessageSize

        public void setMaxUiClientMessageSize​(int maxUiClientMessageSize)
        See Also:
        maxUiClientMessageSize
      • getUploadDirectory

        public java.io.File getUploadDirectory()
        See Also:
        uploadDirectory
      • setUploadDirectory

        public void setUploadDirectory​(java.io.File uploadDirectory)
        See Also:
        uploadDirectory
      • setMaxNumberOfSessionExecutorThreads

        public void setMaxNumberOfSessionExecutorThreads​(int maxNumberOfSessionExecutorThreads)
        See Also:
        maxNumberOfSessionExecutorThreads
      • getNavigationPathPrefix

        public java.lang.String getNavigationPathPrefix()
      • setNavigationPathPrefix

        public void setNavigationPathPrefix​(java.lang.String navigationPathPrefix)