Uses of Interface
kong.unirest.core.MultipartBody
Packages that use MultipartBody
-
Uses of MultipartBody in kong.unirest.core
Subinterfaces with type arguments of type MultipartBody in kong.unirest.coreModifier and TypeInterfaceDescriptioninterfaceRepresents a multi-part body builder for a request.Methods in kong.unirest.core that return MultipartBodyModifier and TypeMethodDescriptionSets the value to use as the boundary identifier. see rfc2046Set the encoding of the request bodyMultipartBody.contentType(String mimeType) Set the mime-type of the request bodySets 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.HttpRequestWithBody.field(MultiPartBuilder builder) Add a multipart field with a FieldBuilder which supports many different optionsDeprecated.will be removed in Unirest 5.MultipartBody.field(String name, byte[] bytes, ContentType contentType, String fileName) Deprecated.will be removed in Unirest 5.add a simple field with a name and valueDeprecated.will be removed in Unirest 5.MultipartBody.field(String name, InputStream stream, String fileName) Deprecated.will be removed in Unirest 5.MultipartBody.field(String name, InputStream value, ContentType contentType) Deprecated.will be removed in Unirest 5.MultipartBody.field(String name, InputStream stream, ContentType contentType, String fileName) Deprecated.will be removed in Unirest 5.add a simple field with a name and valueDeprecated.will be removed in Unirest 5.MultipartBody.field(String name, String value, ContentType contentType) Deprecated.will be removed in Unirest 5.MultipartBody.field(String name, Collection<?> values) add a simple field with a name and valueMultipartBody.field(MultiPartBuilder builder) add a field using the MultiPartBuilder.Sets multiple field params on the body from a map of key/value pairs.MultipartBody.mode(MultipartMode value) Set the Apache Mode.HttpRequestWithBody.multiPartContent()Forces the request to send as multipart even if all params are simpleMultipartBody.sortFields()sort fields on name, in alphabetical orderMultipartBody.uploadMonitor(ProgressMonitor monitor) Set a file Progress upload monitor suitable for drawing progress bars and whatnot.