T
- this类型,用于链式调用public abstract class FormBody<T extends FormBody<T>> extends Object implements HttpBody
Modifier and Type | Field and Description |
---|---|
protected Charset |
charset
编码
|
protected Map<String,Object> |
form
存储表单数据
|
Modifier | Constructor and Description |
---|---|
protected |
FormBody(Map<String,Object> form,
Charset charset)
构造
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
form()
获取表单内容
|
T |
form(Map<String,Object> formMap)
设置map类型表单数据
|
T |
form(String name,
Object value)
设置表单数据
如果传入值为 null ,则移除这个表单项 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contentLength, contentType, contentType, getBytes, getStream, write, writeClose
protected final Charset charset
Copyright © 2025. All rights reserved.