public final class MultipartBody extends 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> List<T> |
getData(MultipartDataFactory<T> factory)
Create a list of data objects using the given factory.
|
@Internal public <T> List<T> getData(MultipartDataFactory<T> factory)
T
- The data typefactory
- The factory used to create the data objects.public static MultipartBody.Builder builder()