Object - mime : ContentDisposition

Represents values in Content-Disposition header.

Methods

Fields

  • fileName string
  • Default filename for storing the bodypart, if the receiving agent wishes to store it in an external file

  • disposition string
  • Indicates how the body part should be presented (inline, attachment or as form-data)

  • name string
  • Represents the field name in case of multipart/form-data

  • parameters map {}
  • A set of parameters, specified in attribute=value notation

toString

()

returns string

Converts the ContentDisposition type to a string suitable for use as the value of a corresponding MIME header.

  • Return Type

    (string)
  • The string represnetation of the ContentDisposition object