Package io.vertx.ext.web.multipart
Interface FormDataPart
-
public interface FormDataPartA form data part of aMultipartForm.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Buffercontent()Stringfilename()booleanisAttribute()booleanisFileUpload()BooleanisText()StringmediaType()Stringname()Stringpathname()Stringvalue()
-
-
-
Method Detail
-
name
String name()
- Returns:
- the name
-
isAttribute
boolean isAttribute()
- Returns:
truewhen this part is an attribute
-
isFileUpload
boolean isFileUpload()
- Returns:
truewhen this part is a file upload
-
value
String value()
- Returns:
- the value when the part for a form attribute otherwise
null
-
filename
String filename()
- Returns:
- the filename when this part is a file upload otherwise
null
-
pathname
String pathname()
- Returns:
- the pathname when this part is a file upload created with a pathname otherwise
null
-
content
Buffer content()
- Returns:
- the content when this part is a file upload created with a buffer otherwise
null
-
mediaType
String mediaType()
- Returns:
- the media type when this part is a file upload otherwise
null
-
isText
Boolean isText()
- Returns:
- whether the file upload is text or binary when this part is a file upload otherwise
null
-
-