- java.lang.Object
-
- net.dongliu.cute.http.Param
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object o)inthashCode()Stringname()Return the namestatic Paramof(String name, boolean value)Create new param with boolean value.static Paramof(String name, long value)Create new param with long value.static Paramof(String name, String value)Create new param.StringtoString()Stringvalue()Return the value
-
-
-
方法详细资料
-
of
public static Param of(String name, String value)
Create new param.- 参数:
name- the name, cannot be nullvalue- 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 nullvalue- the value- 返回:
- the param
-
of
public static Param of(String name, boolean value)
Create new param with boolean value.- 参数:
name- the name, cannot be nullvalue- the value- 返回:
- the param
-
-