public class ContentTypeHeaderValue extends NameValueHeaderValue
Represents a Content-Type header value.
Constructor and Description |
---|
ContentTypeHeaderValue(com.aspose.html.internal.ms.System.Collections.Specialized.NameValueCollection collection) |
Modifier and Type | Method and Description |
---|---|
String |
getCharSet()
Gets or sets the character-set for content.
|
MimeType |
getMediaType()
Gets or sets the media-type for content.
|
void |
setCharSet(String value)
Gets or sets the character-set for content.
|
void |
setMediaType(MimeType value)
Gets or sets the media-type for content.
|
public ContentTypeHeaderValue(com.aspose.html.internal.ms.System.Collections.Specialized.NameValueCollection collection)
public String getCharSet()
Gets or sets the character-set for content.
Value: The character set.public void setCharSet(String value)
Gets or sets the character-set for content.
Value: The character set.public MimeType getMediaType()
Gets or sets the media-type for content.
Value: The type of the media.public void setMediaType(MimeType value)
Gets or sets the media-type for content.
Value: The type of the media.