public final class FormBody extends RequestBody
| Modifier and Type | Class and Description |
|---|---|
static class |
FormBody.Builder |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength()
返回调用
RequestBody.writeTo(org.aoju.bus.core.io.segment.BufferSink)时写入sink的字节数,如果该计数未知,则返回-1 |
MediaType |
contentType() |
String |
encodedName(int index) |
String |
encodedValue(int index) |
String |
name(int index) |
int |
size() |
String |
value(int index) |
void |
writeTo(BufferSink sink)
将此请求的内容写入
sink |
public int size()
public String encodedName(int index)
public String name(int index)
public String encodedValue(int index)
public String value(int index)
public MediaType contentType()
contentType in class RequestBodypublic long contentLength()
RequestBodyRequestBody.writeTo(org.aoju.bus.core.io.segment.BufferSink)时写入sink的字节数,如果该计数未知,则返回-1contentLength in class RequestBodypublic void writeTo(BufferSink sink)
RequestBodysinkwriteTo in class RequestBodysink - 缓存区Copyright © 2019. All rights reserved.