Object built-in object

objectHttpUploadData

One entry data containing multipart

inheritance relationship

#lineWidth: 1.5 #font: Helvetica,sans-Serif #fontSize: 10 #leading: 1.6 #.this: fill=lightgray #.class: fill=white [<class>object|toString();toJSON()] [<this>HttpUploadData|fileName;contentType;contentTransferEncoding;body] [object] <:- [HttpUploadData] object toString() toJSON() HttpUploadData fileName contentType contentTransferEncoding body

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 for 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, the stream object containing the data part of this entry

1
readonly SeekableStream HttpUploadData.body;

member function

toString

Returns the string representation of the object, generally returns "[Native Object]", the object can be reimplemented according to its own characteristics

1
String HttpUploadData.toString();

Return result:

  • String, returns the string representation of the object

toJSON

Returns the JSON format representation of the object, generally returns the set of readable properties defined by the object

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

Call parameters:

  • key: String, unused

Return result:

  • Value, returns a value containing JSON serializable