Package | Description |
---|---|
io.vertx.reactivex.ext.web.client | |
io.vertx.reactivex.ext.web.multipart |
Modifier and Type | Method and Description |
---|---|
Single<HttpResponse<T>> |
HttpRequest.rxSendMultipartForm(MultipartForm body)
Like
HttpRequest.send(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.ext.web.client.HttpResponse<T>>>) but with an HTTP request body multimap encoded as form and the content type
set to multipart/form-data . |
void |
HttpRequest.sendMultipartForm(MultipartForm body,
Handler<AsyncResult<HttpResponse<T>>> handler)
Like
HttpRequest.send(io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.reactivex.ext.web.client.HttpResponse<T>>>) but with an HTTP request body multimap encoded as form and the content type
set to multipart/form-data . |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<MultipartForm> |
MultipartForm.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
MultipartForm |
MultipartForm.attribute(String name,
String value)
Add an attribute form data part.
|
MultipartForm |
MultipartForm.binaryFileUpload(String name,
String filename,
Buffer content,
String mediaType)
Add a binary file upload form data part.
|
MultipartForm |
MultipartForm.binaryFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a binary file upload form data part.
|
static MultipartForm |
MultipartForm.create() |
static MultipartForm |
MultipartForm.newInstance(MultipartForm arg) |
MultipartForm |
MultipartForm.textFileUpload(String name,
String filename,
Buffer content,
String mediaType)
Add a text file upload form data part.
|
MultipartForm |
MultipartForm.textFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a text file upload form data part.
|
Copyright © 2023 Eclipse. All rights reserved.