public interface FormData extends UploadData
application/x-www-form-urlencoded
content type.Modifier and Type | Interface and Description |
---|---|
static class |
FormData.Builder
A builder of
FormData . |
static interface |
FormData.Pair
A key-value pair that represents a segment of a form data, for example a form field content.
|
Modifier and Type | Method and Description |
---|---|
default java.util.List<FormData.Pair> |
data()
Returns an immutable list of the key-value pairs each representing a segment of a form data
or an empty list if the form does not contain any data.
|
static FormData.Builder |
newBuilder()
Creates a new
FormData builder. |
static FormData.Builder newBuilder()
FormData
builder.FormData.Builder
instancedefault java.util.List<FormData.Pair> data()