Uses of Class
com.github.mizosoft.methanol.MultipartBodyPublisher.Builder
Packages that use MultipartBodyPublisher.Builder
-
Uses of MultipartBodyPublisher.Builder in com.github.mizosoft.methanol
Methods in com.github.mizosoft.methanol that return MultipartBodyPublisher.BuilderModifier and TypeMethodDescriptionSets the boundary of the multipart body.Adds a file form field with the given name and file.Adds a file form field with given name, file and media type.MultipartBodyPublisher.Builder.formPart(String name, String filename, HttpRequest.BodyPublisher bodyPublisher) Adds a form field with the given name, filename and body.MultipartBodyPublisher.Builder.formPart(String name, String filename, HttpRequest.BodyPublisher bodyPublisher, MediaType mediaType) Adds a form field with the given name, filename, body and media type.MultipartBodyPublisher.Builder.formPart(String name, HttpRequest.BodyPublisher bodyPublisher) Adds a form field with the given name and body.Sets the media type of the multipart body.MultipartBodyPublisher.newBuilder()Returns a newMultipartBodyPublisher.Builder.MultipartBodyPublisher.Builder.part(MultipartBodyPublisher.Part part) Adds the given part.Adds atext/plainform field with the given name and value.Adds atext/plainform field with the given name and value, using the given charset for encoding the field's value.