Uses of Class
kong.unirest.core.MultiPartBuilder
Packages that use MultiPartBuilder
-
Uses of MultiPartBuilder in kong.unirest.core
Methods in kong.unirest.core that return MultiPartBuilderModifier and TypeMethodDescriptionMultiPartBuilder.contentType(String contentType) Sets the content type for this part using a string representation.MultiPartBuilder.contentType(ContentType type) Sets the content type for this part.Sets the file name for this part.Adds a custom header to this part.static MultiPartBuilderCreates a new MultiPartBuilder with the specified part name.MultiPartBuilder.value(byte[] content) Sets the value of this part to a byte array.Sets the value of this part to a file.MultiPartBuilder.value(InputStream inputStream) Sets the value of this part to an input stream.Sets the value of this part to an object.Sets the value of this part to a string.Methods in kong.unirest.core with parameters of type MultiPartBuilderModifier and TypeMethodDescriptionHttpRequestWithBody.field(MultiPartBuilder builder) Add a multipart field with a FieldBuilder which supports many different optionsMultipartBody.field(MultiPartBuilder builder) add a field using the MultiPartBuilder.