类 Param

  • 所有已实现的接口:
    NameValue

    public class Param
    extends Object
    implements NameValue
    Immutable parameter, for uri query string, and www-form-encoded parameters. The name and value cannot be null.
    作者:
    Liu Dong
    • 方法详细资料

      • of

        public static Param of​(String name,
                               String value)
        Create new param.
        参数:
        name - the name, cannot be null
        value - the value, cannot be null
        返回:
        the param
      • of

        public static Param of​(String name,
                               long value)
        Create new param with long value.
        参数:
        name - the name, cannot be null
        value - the value
        返回:
        the param
      • of

        public static Param of​(String name,
                               boolean value)
        Create new param with boolean value.
        参数:
        name - the name, cannot be null
        value - the value
        返回:
        the param
      • nameCaseSensitive

        public boolean nameCaseSensitive()
        从接口复制的说明: NameValue
        If names are case sensitive
        指定者:
        nameCaseSensitive 在接口中 NameValue
      • name

        public String name()
        从接口复制的说明: NameValue
        Return the name
        指定者:
        name 在接口中 NameValue
        返回:
        the name