| Package | Description |
|---|---|
| kong.unirest |
| Modifier and Type | Method and Description |
|---|---|
MultipartBody |
MultipartBody.charset(Charset charset)
Set the encoding of the request body
|
MultipartBody |
MultipartBody.contentType(String mimeType)
Set the mime-type of the request body
|
MultipartBody |
MultipartBody.field(String name,
byte[] bytes,
ContentType contentType,
String fileName)
add a simple field with a name and value
|
MultipartBody |
MultipartBody.field(String name,
byte[] bytes,
String fileName)
add a simple field with a name and value
|
MultipartBody |
MultipartBody.field(String name,
Collection<?> values)
add a simple field with a name and value
|
MultipartBody |
HttpRequestWithBody.field(String name,
Collection<?> value) |
MultipartBody |
MultipartBody.field(String name,
File file)
add a simple field with a name and value
|
MultipartBody |
HttpRequestWithBody.field(String name,
File file) |
MultipartBody |
MultipartBody.field(String name,
File file,
String contentType)
add a simple field with a name and value
|
MultipartBody |
HttpRequestWithBody.field(String name,
File file,
String contentType) |
MultipartBody |
MultipartBody.field(String name,
InputStream value,
ContentType contentType)
add a simple field with a name and value
|
MultipartBody |
MultipartBody.field(String name,
InputStream stream,
ContentType contentType,
String fileName)
add a simple field with a name and value
|
MultipartBody |
HttpRequestWithBody.field(String name,
InputStream stream,
ContentType contentType,
String fileName) |
MultipartBody |
MultipartBody.field(String name,
InputStream stream,
String fileName)
add a simple field with a name and value
|
MultipartBody |
HttpRequestWithBody.field(String name,
InputStream stream,
String fileName) |
MultipartBody |
HttpRequestWithBody.field(String name,
Object value) |
MultipartBody |
HttpRequestWithBody.field(String name,
Object value,
String contentType) |
MultipartBody |
MultipartBody.field(String name,
String value)
add a simple field with a name and value
|
MultipartBody |
MultipartBody.field(String name,
String value,
String contentType)
add a simple field with a name and value
|
MultipartBody |
HttpRequestWithBody.fields(Map<String,Object> parameters) |
MultipartBody |
MultipartBody.mode(MultipartMode value)
Set the Apache Mode.
|
MultipartBody |
HttpRequestWithBody.multiPartContent()
Forces the request to send as multipart even if all params are simple
|
MultipartBody |
MultipartBody.uploadMonitor(ProgressMonitor monitor)
Set a file Progress upload monitor suitable for drawing progress bars and whatnot.
|
Copyright © 2019. All rights reserved.