类 StringRequestBody
java.lang.Object
com.dtflys.forest.http.ForestRequestBody
com.dtflys.forest.http.body.StringRequestBody
- 所有已实现的接口:
SupportFormUrlEncoded
字符串类型请求体
该请求体对象会包装一个字符串, 其字符串会被放置到请求体中
- 从以下版本开始:
- 2020-09-22 17:30
- 作者:
- gongjun[jun.gong@thebeastshop.com]
-
字段概要
从类继承的字段 com.dtflys.forest.http.ForestRequestBody
body -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()byte[]getNameValueList(ForestRequest request) 获取请求键值对voidsetContent(String content) toString()从类继承的方法 com.dtflys.forest.http.ForestRequestBody
getBody, getDefaultValue, setDefaultValue
-
构造器详细资料
-
StringRequestBody
-
-
方法详细资料
-
getContent
-
setContent
-
toString
-
getByteArray
public byte[] getByteArray()- 指定者:
getByteArray在类中ForestRequestBody
-
getDefaultBodyType
- 指定者:
getDefaultBodyType在类中ForestRequestBody
-
getNameValueList
从接口复制的说明:SupportFormUrlEncoded获取请求键值对- 指定者:
getNameValueList在接口中SupportFormUrlEncoded- 参数:
request- Forest请求对象- 返回:
- 请求键值对
-
clone
- 指定者:
clone在类中ForestRequestBody
-