Class FormDataPart
java.lang.Object
io.vertx.mutiny.ext.web.multipart.FormDataPart
- All Implemented Interfaces:
MutinyDelegate
A form data part of a
MultipartForm.
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- See Also:
-
FormDataPart
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFormDataPart(io.vertx.ext.web.multipart.FormDataPart delegate) Create a new instance ofFormDataPartdelegating to the given (non-null) instance ofFormDataPart.FormDataPart(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionio.vertx.core.buffer.Buffercontent()booleanfilename()io.vertx.ext.web.multipart.FormDataPartGet the delegate instance.inthashCode()booleanbooleanisText()name()static FormDataPartnewInstance(io.vertx.ext.web.multipart.FormDataPart delegate) Creates a new instance of theFormDataPart.pathname()toString()value()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
FormDataPart
public FormDataPart(io.vertx.ext.web.multipart.FormDataPart delegate) Create a new instance ofFormDataPartdelegating to the given (non-null) instance ofFormDataPart. -
FormDataPart
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.multipart.FormDataPart getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
name
- Returns:
- the name
-
isAttribute
public boolean isAttribute()- Returns:
truewhen this part is an attribute
-
isFileUpload
public boolean isFileUpload()- Returns:
truewhen this part is a file upload
-
value
- Returns:
- the value when the part for a form attribute otherwise
null
-
filename
- Returns:
- the filename when this part is a file upload otherwise
null
-
pathname
- Returns:
- the pathname when this part is a file upload created with a pathname otherwise
null
-
content
public io.vertx.core.buffer.Buffer content()- Returns:
- the content when this part is a file upload created with a buffer otherwise
null
-
mediaType
- Returns:
- the media type when this part is a file upload otherwise
null
-
isText
- Returns:
- whether the file upload is text or binary when this part is a file upload otherwise
null
-
newInstance
Creates a new instance of theFormDataPart. -
hashCode
public int hashCode() -
equals
-
toString
-