Using Vertx Web Client, while sending multipart form post request [file upload] one needs to provide file path.
Example:
MultipartForm form = MultipartForm.create()
.attribute("imageDescription", "a very nice image")
.binaryFileUpload("imageFile", "image.jpg", "/path/to/image", "image/jpeg");
This feature requires the file to be present on file system [needs IO operation].
Can Vertx team provide a overload of binaryFileUpload method in which one can pass a byte array (represents file)? Just to use this feature we need to integrate Apache HTTP client in our project. Please consider this as a feature request.