Class MultipartForm
java.lang.Object
io.vertx.mutiny.ext.web.multipart.MultipartForm
- All Implemented Interfaces:
MutinyDelegate,Iterable<FormDataPart>
A multipart form.
NOTE: This class has been automatically generated from the
original non Mutiny-ified interface using Vert.x codegen.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultipartForm(io.vertx.ext.web.multipart.MultipartForm delegate) MultipartForm(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbinaryFileUpload(String name, String filename, Buffer content, String mediaType) binaryFileUpload(String name, String filename, String pathname, String mediaType) static MultipartFormcreate()booleanio.vertx.ext.web.multipart.MultipartForminthashCode()iterator()static MultipartFormnewInstance(io.vertx.ext.web.multipart.MultipartForm arg) setCharset(String charset) setCharset(Charset charset) textFileUpload(String name, String filename, Buffer content, String mediaType) textFileUpload(String name, String filename, String pathname, String mediaType) io.smallrye.mutiny.Multi<FormDataPart>toMulti()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
MultipartForm
public MultipartForm(io.vertx.ext.web.multipart.MultipartForm delegate) -
MultipartForm
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.multipart.MultipartForm getDelegate()- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
iterator
- Specified by:
iteratorin interfaceIterable<FormDataPart>
-
toMulti
-
create
- Returns:
- a multipart form instance
-
setCharset
- Parameters:
charset- the charset to use- Returns:
- a reference to this, so the API can be used fluently
-
attribute
- 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
- 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
- Parameters:
charset- the charset to use- Returns:
- a reference to this, so the API can be used fluently
-
getCharset
- Returns:
- the charset to use when encoding the form
-
newInstance
-