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