Class FormDataPart
- java.lang.Object
-
- io.vertx.reactivex.ext.web.multipart.FormDataPart
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class FormDataPart extends Object implements io.vertx.lang.rx.RxDelegate
A form data part of aMultipartForm.NOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<FormDataPart>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description FormDataPart(FormDataPart delegate)FormDataPart(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Buffercontent()booleanequals(Object o)Stringfilename()FormDataPartgetDelegate()inthashCode()booleanisAttribute()booleanisFileUpload()BooleanisText()StringmediaType()Stringname()static FormDataPartnewInstance(FormDataPart arg)Stringpathname()StringtoString()Stringvalue()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<FormDataPart> __TYPE_ARG
-
-
Constructor Detail
-
FormDataPart
public FormDataPart(FormDataPart delegate)
-
FormDataPart
public FormDataPart(Object delegate)
-
-
Method Detail
-
getDelegate
public FormDataPart getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
name
public String 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
public String value()
- Returns:
- the value when the part for a form attribute otherwise
null
-
filename
public String filename()
- Returns:
- the filename when this part is a file upload otherwise
null
-
pathname
public String pathname()
- Returns:
- the pathname when this part is a file upload created with a pathname otherwise
null
-
content
public Buffer content()
- Returns:
- the content when this part is a file upload created with a buffer otherwise
null
-
mediaType
public String mediaType()
- Returns:
- the media type when this part is a file upload otherwise
null
-
isText
public Boolean isText()
- Returns:
- whether the file upload is text or binary when this part is a file upload otherwise
null
-
newInstance
public static FormDataPart newInstance(FormDataPart arg)
-
-