Modifier and Type | Method and Description |
---|---|
static MultipartBody.Part |
MultipartBody.Part.create(Headers headers,
RequestBody body) |
static MultipartBody.Part |
MultipartBody.Part.create(RequestBody body) |
static MultipartBody.Part |
MultipartBody.Part.createFormData(String name,
String value) |
static MultipartBody.Part |
MultipartBody.Part.createFormData(String name,
String filename,
RequestBody body) |
MultipartBody.Part |
MultipartBody.part(int index) |
Modifier and Type | Method and Description |
---|---|
List<MultipartBody.Part> |
MultipartBody.parts() |
Modifier and Type | Method and Description |
---|---|
MultipartBody.Builder |
MultipartBody.Builder.addPart(MultipartBody.Part part)
Add a part to the body.
|
Copyright © 2019. All rights reserved.