Class CometdConfig
java.lang.Object
org.exoplatform.onlyoffice.cometd.CometdConfig
The CometdInfo class is used to pass necessary cometd information to a
client.
-
Constructor Summary
ConstructorsConstructorDescriptionCometdConfig(String path, String token, String containerName) Instantiates CometdConfig. -
Method Summary
-
Constructor Details
-
CometdConfig
Instantiates CometdConfig.- Parameters:
path- the pathtoken- the tokencontainerName- the containerName
-
-
Method Details
-
getToken
Gets the token.- Returns:
- the cometd token
-
getPath
Gets the path.- Returns:
- the cometdPath
-
getContainerName
Gets the container name.- Returns:
- the container
-
toJSON
To JSON.- Returns:
- the string
- Throws:
org.exoplatform.ws.frameworks.json.impl.JsonException- the json exception
-