ContentType.getMimeType

Allocates a string buffer containing the type and subtype defined by the content_type.

class ContentType
string
getMimeType
()

Return Value

Type: string

an allocated string containing the type and subtype of the content-type in the format: type/subtype.