Class MultipartForm
- java.lang.Object
-
- io.vertx.mutiny.ext.web.multipart.MultipartForm
-
- All Implemented Interfaces:
Iterable<FormDataPart>
public class MultipartForm extends Object implements Iterable<FormDataPart>
A multipart form. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<MultipartForm>
__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description MultipartForm(io.vertx.ext.web.multipart.MultipartForm delegate)
MultipartForm(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MultipartForm
attribute(String name, String value)
MultipartForm
binaryFileUpload(String name, String filename, Buffer content, String mediaType)
MultipartForm
binaryFileUpload(String name, String filename, String pathname, String mediaType)
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(String charset)
MultipartForm
setCharset(Charset charset)
MultipartForm
textFileUpload(String name, String filename, Buffer content, String mediaType)
MultipartForm
textFileUpload(String name, String filename, String pathname, String mediaType)
io.smallrye.mutiny.Multi<FormDataPart>
toMulti()
String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<MultipartForm> __TYPE_ARG
-
-
Constructor Detail
-
MultipartForm
public MultipartForm(io.vertx.ext.web.multipart.MultipartForm delegate)
-
MultipartForm
public MultipartForm(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.multipart.MultipartForm getDelegate()
-
iterator
public Iterator<FormDataPart> iterator()
- Specified by:
iterator
in interfaceIterable<FormDataPart>
-
toMulti
public io.smallrye.mutiny.Multi<FormDataPart> toMulti()
-
create
public static MultipartForm create()
- Returns:
- a multipart form instance
-
setCharset
public MultipartForm setCharset(String charset)
- Parameters:
charset
- the charset to use- Returns:
- a reference to this, so the API can be used fluently
-
attribute
public MultipartForm attribute(String name, String value)
- Parameters:
name
- the name of the attributevalue
- the value of the attribute- Returns:
- a reference to this, so the API can be used fluently
-
textFileUpload
public MultipartForm textFileUpload(String name, String filename, String pathname, String mediaType)
- Parameters:
name
- name of the parameterfilename
- filename of the filepathname
- the pathname of the filemediaType
- the MIME type of the file- Returns:
- a reference to this, so the API can be used fluently
-
textFileUpload
public MultipartForm textFileUpload(String name, String filename, Buffer content, String mediaType)
- Parameters:
name
- name of the parameterfilename
- filename of the filecontent
- the content of the filemediaType
- the MIME type of the file- Returns:
- a reference to this, so the API can be used fluently
-
binaryFileUpload
public MultipartForm binaryFileUpload(String name, String filename, String pathname, String mediaType)
- Parameters:
name
- name of the parameterfilename
- filename of the filepathname
- the pathname of the filemediaType
- the MIME type of the file- Returns:
- a reference to this, so the API can be used fluently
-
binaryFileUpload
public MultipartForm binaryFileUpload(String name, String filename, Buffer content, String mediaType)
- Parameters:
name
- name of the parameterfilename
- filename of the filecontent
- the content of the filemediaType
- the MIME type of the file- Returns:
- a reference to this, so the API can be used fluently
-
setCharset
public MultipartForm setCharset(Charset charset)
- Parameters:
charset
- the charset to use- Returns:
- a reference to this, so the API can be used fluently
-
getCharset
public Charset getCharset()
- Returns:
- the charset to use when encoding the form
-
newInstance
public static MultipartForm newInstance(io.vertx.ext.web.multipart.MultipartForm arg)
-
-