类 AbstractQueryParameter<SELF extends AbstractQueryParameter<SELF>>
java.lang.Object
com.dtflys.forest.http.AbstractQueryParameter<SELF>
- 所有已实现的接口:
ForestQueryParameter<SELF>
- 直接已知子类:
SimpleQueryParameter
public abstract class AbstractQueryParameter<SELF extends AbstractQueryParameter<SELF>>
extends Object
implements ForestQueryParameter<SELF>
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean是否源自URLbooleansetCharset(String charset) setDefaultValue(String defaultValue) setUrlencoded(boolean urlencoded) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.dtflys.forest.http.ForestQueryParameter
getName, getValue, setValue
-
字段详细资料
-
self
-
urlencoded
protected boolean urlencoded是否做URLEncode -
charset
字符集 -
defaultValue
默认值
-
-
构造器详细资料
-
AbstractQueryParameter
-
-
方法详细资料
-
isUrlencoded
public boolean isUrlencoded()- 指定者:
isUrlencoded在接口中ForestQueryParameter<SELF extends AbstractQueryParameter<SELF>>
-
setUrlencoded
- 指定者:
setUrlencoded在接口中ForestQueryParameter<SELF extends AbstractQueryParameter<SELF>>
-
getCharset
- 指定者:
getCharset在接口中ForestQueryParameter<SELF extends AbstractQueryParameter<SELF>>
-
setCharset
- 指定者:
setCharset在接口中ForestQueryParameter<SELF extends AbstractQueryParameter<SELF>>
-
getDefaultValue
- 指定者:
getDefaultValue在接口中ForestQueryParameter<SELF extends AbstractQueryParameter<SELF>>
-
setDefaultValue
- 指定者:
setDefaultValue在接口中ForestQueryParameter<SELF extends AbstractQueryParameter<SELF>>
-
isFromUrl
public boolean isFromUrl()是否源自URL源自URL的Query参数在每次调用
ForestRequest.setUrl(String)时都会被清理掉- 指定者:
isFromUrl在接口中ForestQueryParameter<SELF extends AbstractQueryParameter<SELF>>- 返回:
true: 源自URL,false: 否- 从以下版本开始:
- 1.5.0-BETA5
-