Uses of Class
kong.unirest.core.java.MultipartBodyPublisher.Builder
Packages that use MultipartBodyPublisher.Builder
-
Uses of MultipartBodyPublisher.Builder in kong.unirest.core.java
Methods in kong.unirest.core.java that return MultipartBodyPublisher.BuilderModifier and TypeMethodDescription(package private) MultipartBodyPublisher.Builder
Adds a file form field with given name, file and media type.(package private) MultipartBodyPublisher.Builder
MultipartBodyPublisher.Builder.formPart
(String name, String filename, HttpRequest.BodyPublisher body, String contentType) Adds a form field with the given name, filename and body.(package private) MultipartBodyPublisher.Builder
MultipartBodyPublisher.Builder.formPart
(String name, HttpRequest.BodyPublisher bodyPublisher, String contentType) Adds a form field with the given name and body.(package private) static MultipartBodyPublisher.Builder
MultipartBodyPublisher.newBuilder
(String boundary) Returns a newMultipartBodyPublisher.Builder
.(package private) MultipartBodyPublisher.Builder
Adds atext/plain
form field with the given name and value.(package private) MultipartBodyPublisher.Builder
MultipartBodyPublisher.Builder.textPart
(String name, Object value, Charset charset, String contentType) Adds atext/plain
form field with the given name and value using the given charset for encoding the field's body.Methods in kong.unirest.core.java with parameters of type MultipartBodyPublisher.BuilderModifier and TypeMethodDescriptionprivate void
BodyBuilder.setMultiPart
(Body o, MultipartBodyPublisher.Builder builder, BodyPart part)