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.ms.System.Collections.Specialized.NameValueCollection collection)
    • Method Detail

      • getCharSet

        public java.lang.String getCharSet()

        Gets or sets the character-set for content.

        Value: The character set.
      • setCharSet

        public void setCharSet(java.lang.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.