Interface IWebPublishService
-
- All Superinterfaces:
IPublishService
public interface IWebPublishService extends IPublishService
Publish something to the internal or external http server.
-
-
Field Summary
-
Fields inherited from interface jadex.bridge.service.types.publish.IPublishService
DEFAULT_RSPUBLISH_COMPONENTS, PUBLISH_RS, PUBLISH_WS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFuture<java.lang.Boolean>
isLoggedIn(java.lang.String callid)
Test if a the web user is logged in.IFuture<java.lang.Void>
publishHMTLPage(java.lang.String uri, java.lang.String vhost, java.lang.String html)
Publish a static page (without ressources).IFuture<java.lang.Void>
publishResources(java.lang.String uri, java.lang.String rootpath)
Publish file resources from the classpath.IFuture<java.lang.Void>
setLoginSecurity(boolean sec)
Turn on or off the login security.-
Methods inherited from interface jadex.bridge.service.types.publish.IPublishService
isSupported, publishService, unpublishService
-
-
-
-
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.
-
-