Uses of Interface
kong.unirest.core.MultipartBody
Packages that use MultipartBody
-
Uses of MultipartBody in kong.unirest.core
Classes in kong.unirest.core that implement MultipartBodyMethods in kong.unirest.core that return MultipartBodyModifier and TypeMethodDescriptionSets the value to use as the boundary identifier.Set the encoding of the request bodyHttpRequestMultiPart.contentType
(String mimeType) MultipartBody.contentType
(String mimeType) Set the mime-type of the request bodyHttpRequestBody.field
(String name, InputStream stream, String fileName) HttpRequestBody.field
(String name, InputStream stream, ContentType contentType, String fileName) HttpRequestBody.field
(String name, Collection<?> value) HttpRequestMultiPart.field
(String name, byte[] bytes, ContentType contentType, String fileName) HttpRequestMultiPart.field
(String name, InputStream stream, String fileName) HttpRequestMultiPart.field
(String name, InputStream value, ContentType contentType) HttpRequestMultiPart.field
(String name, InputStream stream, ContentType contentType, String fileName) HttpRequestMultiPart.field
(String name, String value, ContentType contentType) HttpRequestMultiPart.field
(String name, Collection<?> collection) Sets a File on the body.Sets a File on the body with a specified content-type.HttpRequestWithBody.field
(String name, InputStream stream, String fileName) Sets a File on the body from a raw InputStream requires a file name.HttpRequestWithBody.field
(String name, InputStream stream, ContentType contentType, String fileName) Sets a File on the body from a raw InputStream requires a specified content-type and file name.Sets a field param on the body.Sets a field param on the body with a specified content-type.HttpRequestWithBody.field
(String name, Collection<?> value) Sets multiple field params on the body each with the same name.add a simple field with a name and valueMultipartBody.field
(String name, byte[] bytes, ContentType contentType, String fileName) add a simple field with a name and valueadd a simple field with a name and valueadd a simple field with a name and valueMultipartBody.field
(String name, InputStream stream, String fileName) add a simple field with a name and valueMultipartBody.field
(String name, InputStream value, ContentType contentType) add a simple field with a name and valueMultipartBody.field
(String name, InputStream stream, ContentType contentType, String fileName) add a simple field with a name and valueadd a simple field with a name and valueadd a simple field with a name and valueMultipartBody.field
(String name, String value, ContentType contentType) add a simple field with a name and valueMultipartBody.field
(String name, Collection<?> values) add a simple field with a name and valueSets multiple field params on the body from a map of key/value pairs.(package private) MultipartBody
HttpRequestMultiPart.forceMultiPart
(boolean value) HttpRequestMultiPart.mode
(MultipartMode value) MultipartBody.mode
(MultipartMode value) Set the Apache Mode.HttpRequestBody.multiPartContent()
HttpRequestWithBody.multiPartContent()
Forces the request to send as multipart even if all params are simpleHttpRequestMultiPart.uploadMonitor
(ProgressMonitor uploadMonitor) MultipartBody.uploadMonitor
(ProgressMonitor monitor) Set a file Progress upload monitor suitable for drawing progress bars and whatnot.