Object built-in object

ObjectHttpUploadData

Contains one entry data for multipart

inheritance relationship

member properties

fileName

String, the name of the file containing the data for this entry

1
readonly String HttpUploadData.fileName;

contentType

String, the type containing the data of this entry

1
readonly String HttpUploadData.contentType;

contentTransferEncoding

String, containing the transfer encoding type of this entry's data

1
readonly String HttpUploadData.contentTransferEncoding;

body

SeekableStream, a stream object containing the data portion of this entry

1
readonly SeekableStream HttpUploadData.body;

member function

toString

Returns the string representation of the object. Generally, "[Native Object]" is returned. The object can be re-implemented according to its own characteristics.

1
String HttpUploadData.toString();

Return results:

  • String, returns the string representation of the object

toJSON

Returns a JSON format representation of the object, generally returning a collection of readable properties defined by the object.

1
Value HttpUploadData.toJSON(String key = "");

Call parameters:

  • key: String, not used

Return results:

  • Value, returns a value containing JSON serializable