Class: FormDataPart

vertx-web-common-js/form_data_part~ FormDataPart

new FormDataPart()

Source:

Methods

filename() → {string}

Source:
Returns:
the filename when this part is a file upload otherwise null
Type
string

isAttribute() → {boolean}

Source:
Returns:
true when this part is an attribute
Type
boolean

isFileUpload() → {boolean}

Source:
Returns:
true when this part is a file upload
Type
boolean

isText() → {boolean}

Source:
Returns:
whether the file upload is text or binary when this part is a file upload otherwise null
Type
boolean

mediaType() → {string}

Source:
Returns:
the media type when this part is a file upload otherwise null
Type
string

name() → {string}

Source:
Returns:
the name
Type
string

pathname() → {string}

Source:
Returns:
the pathname when this part is a file upload otherwise null
Type
string

value() → {string}

Source:
Returns:
the value when the part for a form attribute otherwise null
Type
string