public final class FormBody extends RequestBody
| Modifier and Type | Class and Description |
|---|---|
static class |
FormBody.Builder |
| Modifier and Type | Method and Description |
|---|---|
long |
contentLength() |
MediaType |
contentType() |
String |
encodedName(int index) |
String |
encodedValue(int index) |
String |
name(int index) |
int |
size() |
String |
value(int index) |
void |
writeTo(BufferedSink 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()
contentLength in class RequestBodypublic void writeTo(BufferedSink sink) throws IOException
writeTo in class RequestBodyIOExceptionCopyright © 2019. All rights reserved.