Class CometdConfig
- java.lang.Object
-
- org.exoplatform.onlyoffice.cometd.CometdConfig
-
public class CometdConfig extends Object
The CometdInfo class is used to pass necessary cometd information to a client.
-
-
Constructor Summary
Constructors Constructor Description CometdConfig(String path, String token, String containerName)Instantiates CometdConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContainerName()Gets the container name.StringgetPath()Gets the path.StringgetToken()Gets the token.StringtoJSON()To JSON.
-
-
-
Method Detail
-
getToken
public String getToken()
Gets the token.- Returns:
- the cometd token
-
getPath
public String getPath()
Gets the path.- Returns:
- the cometdPath
-
getContainerName
public String getContainerName()
Gets the container name.- Returns:
- the container
-
toJSON
public String toJSON() throws org.exoplatform.ws.frameworks.json.impl.JsonException
To JSON.- Returns:
- the string
- Throws:
org.exoplatform.ws.frameworks.json.impl.JsonException- the json exception
-
-