Modifier and Type | Method and Description |
---|---|
MultipartBody.Builder |
MultipartBody.Builder.addFormDataPart(String name,
String value)
Add a form data part to the body.
|
MultipartBody.Builder |
MultipartBody.Builder.addFormDataPart(String name,
String filename,
RequestBody body)
Add a form data part to the body.
|
MultipartBody.Builder |
MultipartBody.Builder.addPart(Headers headers,
RequestBody body)
Add a part to the body.
|
MultipartBody.Builder |
MultipartBody.Builder.addPart(MultipartBody.Part part)
Add a part to the body.
|
MultipartBody.Builder |
MultipartBody.Builder.addPart(RequestBody body)
Add a part to the body.
|
MultipartBody.Builder |
MultipartBody.Builder.setType(MediaType type)
Set the MIME type.
|
Copyright © 2019. All rights reserved.