public class MultipartForm extends Object implements Iterable<FormDataPart>
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static TypeArg<MultipartForm> |
__TYPE_ARG |
| Constructor and Description |
|---|
MultipartForm(io.vertx.ext.web.multipart.MultipartForm delegate) |
MultipartForm(Object delegate) |
| Modifier and Type | Method and Description |
|---|---|
MultipartForm |
attribute(String name,
String value)
Add an attribute form data part.
|
MultipartForm |
binaryFileUpload(String name,
String filename,
Buffer content,
String mediaType)
Add a binary file upload form data part.
|
MultipartForm |
binaryFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a binary file upload form data part.
|
static MultipartForm |
create() |
boolean |
equals(Object o) |
Charset |
getCharset() |
io.vertx.ext.web.multipart.MultipartForm |
getDelegate() |
int |
hashCode() |
Iterator<FormDataPart> |
iterator() |
static MultipartForm |
newInstance(io.vertx.ext.web.multipart.MultipartForm arg) |
MultipartForm |
setCharset(Charset charset)
Set the
charset to use when encoding the form. |
MultipartForm |
setCharset(String charset)
Set the
charset to use when encoding the form. |
MultipartForm |
textFileUpload(String name,
String filename,
Buffer content,
String mediaType)
Add a text file upload form data part.
|
MultipartForm |
textFileUpload(String name,
String filename,
String pathname,
String mediaType)
Add a text file upload form data part.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final TypeArg<MultipartForm> __TYPE_ARG
public MultipartForm(io.vertx.ext.web.multipart.MultipartForm delegate)
public MultipartForm(Object delegate)
public Iterator<FormDataPart> iterator()
iterator in interface Iterable<FormDataPart>public io.vertx.ext.web.multipart.MultipartForm getDelegate()
public static MultipartForm create()
public MultipartForm setCharset(String charset)
charset to use when encoding the form. The default charset is StandardCharsets.charset - the charset to usepublic MultipartForm attribute(String name, String value)
name - the name of the attributevalue - the value of the attributepublic MultipartForm textFileUpload(String name, String filename, String pathname, String mediaType)
name - name of the parameterfilename - filename of the filepathname - the pathname of the filemediaType - the MIME type of the filepublic MultipartForm textFileUpload(String name, String filename, Buffer content, String mediaType)
name - name of the parameterfilename - filename of the filecontent - the content of the filemediaType - the MIME type of the filepublic MultipartForm binaryFileUpload(String name, String filename, String pathname, String mediaType)
name - name of the parameterfilename - filename of the filepathname - the pathname of the filemediaType - the MIME type of the filepublic MultipartForm binaryFileUpload(String name, String filename, Buffer content, String mediaType)
name - name of the parameterfilename - filename of the filecontent - the content of the filemediaType - the MIME type of the filepublic MultipartForm setCharset(Charset charset)
charset to use when encoding the form. The default charset is StandardCharsets.charset - the charset to usepublic Charset getCharset()
public static MultipartForm newInstance(io.vertx.ext.web.multipart.MultipartForm arg)
Copyright © 2022 Eclipse. All rights reserved.