public final class MultipartBody
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MultipartBody.Builder
A builder class to add different
Part to MultipartBody . |
Modifier and Type | Method and Description |
---|---|
static MultipartBody.Builder |
builder() |
<T> java.util.List<T> |
getData(MultipartDataFactory<T> factory)
Create a list of data objects using the given factory.
|
@Internal public <T> java.util.List<T> getData(MultipartDataFactory<T> factory)
T
- The data typefactory
- The factory used to create the data objects.public static MultipartBody.Builder builder()