public class ContextInfo extends Object
| Modifier and Type | Method and Description |
|---|---|
String |
asJSON()
As JSON.
|
String |
getCometdPath()
Gets the cometd path.
|
String |
getCometdToken()
Gets the cometd token.
|
String |
getContainerName()
Gets the container name.
|
static ContextInfo |
getCurrentContext(String userId)
Gets the current context.
|
String |
getUserId()
Gets the user id.
|
public static final ContextInfo getCurrentContext(String userId)
userId - the user idpublic String getContainerName()
public String getCometdPath()
public String getCometdToken()
public String getUserId()
public String asJSON() throws org.exoplatform.ws.frameworks.json.impl.JsonException
org.exoplatform.ws.frameworks.json.impl.JsonException - the json exceptionCopyright © 2003–2019 eXo Platform SAS. All rights reserved.