ContentType.getMediaType

Gets the Content-Type's media type.

class ContentType
string
getMediaType
()

Return Value

Type: string

the Content-Type's media type.