类 ObjectRequestBody
java.lang.Object
com.dtflys.forest.http.ForestRequestBody
com.dtflys.forest.http.body.ObjectRequestBody
- 所有已实现的接口:
SupportFormUrlEncoded
对象类型请求体
该请求体对象会包装一个Java对象, 其对象最终会在请求发送前被序列化
- 从以下版本开始:
- 2020-09-22 17:30
- 作者:
- gongjun[jun.gong@thebeastshop.com]
-
字段概要
从类继承的字段 com.dtflys.forest.http.ForestRequestBody
body -
构造器概要
构造器 -
方法概要
从类继承的方法 com.dtflys.forest.http.ForestRequestBody
getBody, getDefaultValue, setDefaultValue
-
构造器详细资料
-
ObjectRequestBody
-
-
方法详细资料
-
getObject
-
setObject
-
toString
-
getByteArray
public byte[] getByteArray()- 指定者:
getByteArray在类中ForestRequestBody
-
getDefaultBodyType
- 指定者:
getDefaultBodyType在类中ForestRequestBody
-
getNameValueList
从接口复制的说明:SupportFormUrlEncoded获取请求键值对- 指定者:
getNameValueList在接口中SupportFormUrlEncoded- 参数:
request- Forest请求对象- 返回:
- 请求键值对
-
clone
- 指定者:
clone在类中ForestRequestBody
-