The metadata type exposes the following methods.

Methods

NameDescription
Public method addCookie(String) This method is obsolete.
Adds the specified cookie to the upload request.
Public method addCustomField(String,String,Boolean) Adds a custom field to the collection.
Public method enableAllStandardFields(Boolean) Enables or disables all the standard POST fields.
Public method enableStandardField(String,Boolean) Enables or disables the specified standard POST field.
Public method removeCustomField(String) Removes a custom field with the specified name.
Public method renameStandardField(String,String) Renames the specified standard POST field.
Public method resetCookie This method is obsolete.
Removes all the cookies previously added to the request by the addCookie(String) method.