Package com.mewna.catnip.rest
Class MultipartBodyPublisher
java.lang.Object
com.mewna.catnip.rest.MultipartBodyPublisher
Adapted from https://stackoverflow.com/a/54675316
Modified to fit the code standards of this project, to compact it, to remove
unnecessary capabilities (file read straight from disc and InputStream
suppliers), and add capabilities necessary to add compatibility.
- Since:
- 3/25/2019
- Author:
- kjp12
-
Constructor Details
-
MultipartBodyPublisher
public MultipartBodyPublisher()
-
-
Method Details
-
build
-
addPart
-
addPart
@ParametersAreNonnullByDefault public MultipartBodyPublisher addPart(String name, String filename, byte[] value) -
boundary
-