public interface MultipartFormData extends UploadData
multipart/form-data
content type.Modifier and Type | Interface and Description |
---|---|
static class |
MultipartFormData.Builder
A builder of
MultipartFormData . |
static interface |
MultipartFormData.Pair
A key-value pair that represents a segment of a multi-part form data.
|
Modifier and Type | Method and Description |
---|---|
default java.util.List<MultipartFormData.Pair> |
data()
Returns an immutable list of the key-value pairs each representing a segment of a multi-part
form data or an empty list if the form does not contain any data.
|
static MultipartFormData.Builder |
newBuilder() |
static MultipartFormData.Builder newBuilder()
default java.util.List<MultipartFormData.Pair> data()