FormDataPart

A form data part of a @see \io\vertx\jphp\ext\web\multipart\MultipartForm.

package

Default

Methods

__construct

__construct() 

filename

filename() : string

Response

string

the filename when this part is a file upload otherwise {@code null}

isAttribute

isAttribute() : boolean

Response

boolean

{@code true} when this part is an attribute

isFileUpload

isFileUpload() : boolean

Response

boolean

{@code true} when this part is a file upload

isText

isText() : boolean

Response

boolean

whether the file upload is text or binary when this part is a file upload otherwise {@code null}

mediaType

mediaType() : string

Response

string

the media type when this part is a file upload otherwise {@code null}

name

name() : string

Response

string

the name

pathname

pathname() : string

Response

string

the pathname when this part is a file upload otherwise {@code null}

value

value() : string

Response

string

the value when the part for a form attribute otherwise {@code null}