Class: ContentDisposition
Represents values in Content-Disposition
header.
Methods
toString | Converts the |
Fields
- fileName string(default "")
- disposition string(default "")
- name string(default "")
- parameters map<string>(default {})
Default filename for storing the body part if the receiving agent wishes to store it in an external file
Indicates how the body part should be presented (inline
, attachment
, or as form-data
)
Represents the field name in case of multipart/form-data
A set of parameters specified in the attribute=value
notation
toString
function toString() returns string
Isolated Function
Converts the ContentDisposition
type to a string suitable to use as the value of a corresponding MIME header.
1string contDisposition = contentDisposition.toString();