Object -
mime :
MediaType
Describes the nature of the data in the body of a MIME entity.
Methods
getBaseType
Gets “primaryType/subtype+suffix” combination in string format.
toString
Converts the media type to a string, suitable to be used as the value of a corresponding HTTP header.
Fields
Gets “primaryType/subtype+suffix” combination in string format.
-
Return Type
(string) Base type as a string from MediaType struct