public class RESTContinuationService extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
RESTContinuationService(ContinuationService continuationService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getToken(String exoID) |
javax.ws.rs.core.Response |
hasChannel(String channel) |
javax.ws.rs.core.Response |
isSubscribed(String exoID,
String channel) |
javax.ws.rs.core.Response |
sendBroadcastMessage(DelegateMessage data) |
javax.ws.rs.core.Response |
sendMessage(DelegateMessage data) |
public RESTContinuationService(ContinuationService continuationService)
public javax.ws.rs.core.Response getToken(String exoID)
exoID - the id of client.public javax.ws.rs.core.Response isSubscribed(String exoID, String channel)
exoID - the id of client.channel - the id of channelpublic javax.ws.rs.core.Response hasChannel(String channel)
channel - the id of channelpublic javax.ws.rs.core.Response sendMessage(DelegateMessage data)
data - content message, clientId, channel.public javax.ws.rs.core.Response sendBroadcastMessage(DelegateMessage data)
data - content message, clientId, channel.Copyright © 2003–2019 eXo Platform SAS. All rights reserved.