程序包 com.easemob.im

类 ServerConfiguration

java.lang.Object
com.easemob.im.ServerConfiguration

public class ServerConfiguration extends Object
Representing a Server configuration.
  • 字段详细资料

  • 构造器详细资料

    • ServerConfiguration

      public ServerConfiguration(String URL, String description, Map<String,ServerVariable> variables)
      参数:
      URL - A URL to the target host.
      description - A description of the host designated by the URL.
      variables - A map between a variable name and its value. The value is used for substitution in the server's URL template.
  • 方法详细资料

    • URL

      public String URL(Map<String,String> variables)
      Format URL template using given variables.
      参数:
      variables - A map between a variable name and its value.
      返回:
      Formatted URL.
    • URL

      public String URL()
      Format URL template using default server variables.
      返回:
      Formatted URL.