com.aspose.html.net.headers

Class ContentTypeHeaderValue



  • public class ContentTypeHeaderValue
    extends NameValueHeaderValue

    Represents a Content-Type header value.

    • Constructor Detail

      • ContentTypeHeaderValue

        public ContentTypeHeaderValue(com.aspose.html.internal.ms.System.Collections.Specialized.NameValueCollection collection)
    • Method Detail

      • getCharSet

        public String getCharSet()

        Gets or sets the character-set for content.

        Value: The character set.
      • setCharSet

        public void setCharSet(String value)

        Gets or sets the character-set for content.

        Value: The character set.
      • getMediaType

        public MimeType getMediaType()

        Gets or sets the media-type for content.

        Value: The type of the media.
      • setMediaType

        public void setMediaType(MimeType value)

        Gets or sets the media-type for content.

        Value: The type of the media.