Uses of Class
org.miaixz.bus.http.plugin.httpz.PostBuilder
Packages that use PostBuilder
Package
Description
An HTTP client for Java applications.
Provides a fluent, builder-based API (Httpz) for making HTTP requests, simplifying interactions with the core
Httpd client.-
Uses of PostBuilder in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return PostBuilderModifier and TypeMethodDescriptionHttpz.Client.post()Creates aPostBuilderfor constructing POST requests.static PostBuilderHttpz.post()Creates a newPostBuilderfor constructing POST requests. -
Uses of PostBuilder in org.miaixz.bus.http.plugin.httpz
Methods in org.miaixz.bus.http.plugin.httpz that return PostBuilderModifier and TypeMethodDescriptionAdds a file to the multipart request from a byte array.An alias foraddFile(String, String, byte[]).Adds a file to the multipart request from aFileobject.PostBuilder.addFile(String partName, String fileName, InputStream is) Adds a file to the multipart request from anInputStream.Adds a file to the multipart request from a string, using the default UTF-8 encoding.Adds a file to the multipart request from a string with a specified charset.Sets a raw string as the request body.PostBuilder.multipartBody(MultipartBody multipartBody) Sets a pre-constructedMultipartBody.