Class CometdConfig


  • public class CometdConfig
    extends Object
    The CometdInfo class is used to pass necessary cometd information to a client.
    • Constructor Detail

      • CometdConfig

        public CometdConfig​(String path,
                            String token,
                            String containerName)
        Instantiates CometdConfig.
        Parameters:
        path - the path
        token - the token
        containerName - the containerName
    • 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