Interface IWebPublishService

    • Method Detail

      • publishHMTLPage

        IFuture<java.lang.Void> publishHMTLPage​(java.lang.String uri,
                                                java.lang.String vhost,
                                                java.lang.String html)
        Publish a static page (without ressources).
      • publishResources

        IFuture<java.lang.Void> publishResources​(java.lang.String uri,
                                                 java.lang.String rootpath)
        Publish file resources from the classpath.
      • setLoginSecurity

        IFuture<java.lang.Void> setLoginSecurity​(boolean sec)
        Turn on or off the login security. If true one has to log in with platform secret before using published services.
        Parameters:
        sec - On or off.
      • isLoggedIn

        IFuture<java.lang.Boolean> isLoggedIn​(java.lang.String callid)
        Test if a the web user is logged in.
        Parameters:
        callid - The callid of the request.
        Returns:
        True, if is logged in.