com.aspose.html.net

Class ContentHeaders

  • java.lang.Object
    • com.aspose.html.internal.ms.System.Collections.Specialized.NameObjectCollectionBase
      • com.aspose.html.internal.ms.System.Collections.Specialized.NameValueCollection
        • com.aspose.html.internal.ms.System.Net.WebHeaderCollection
          • com.aspose.html.net.ContentHeaders
  • All Implemented Interfaces:
    com.aspose.html.internal.ms.System.Collections.ICollection, com.aspose.html.internal.ms.System.Collections.IEnumerable, com.aspose.html.internal.ms.System.Runtime.Serialization.ISerializable, Iterable


    public class ContentHeaders
    extends com.aspose.html.internal.ms.System.Net.WebHeaderCollection

    Contains the headers associated with a content.

    See Also:
    WebHeaderCollection
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.html.internal.ms.System.Collections.Specialized.NameObjectCollectionBase

        com.aspose.html.internal.ms.System.Collections.Specialized.NameObjectCollectionBase.KeysCollection
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ContentTypeHeaderValue getContentType()
      Gets the Content-Type header value.
      • Methods inherited from class com.aspose.html.internal.ms.System.Net.WebHeaderCollection

        add_Rename_Namesake, add, add, add, clear, get, get, getAllKeys, getByHttpRequestHeader, getByHttpResponseHeader, getKey, getKeys, getObjectData, getValues, getValues, isRestricted, isRestricted, iterator, onDeserialization, remove_Rename_Namesake, remove, remove, set_Rename_Namesake, set, set, setByHttpRequestHeader, setByHttpResponseHeader, size, toByteArray, toString
      • Methods inherited from class com.aspose.html.internal.ms.System.Collections.Specialized.NameValueCollection

        add, copyTo, get_Item, get_Item, hasKeys, set_Item
      • Methods inherited from class com.aspose.html.internal.ms.System.Collections.Specialized.NameObjectCollectionBase

        getSyncRoot, isSynchronized
    • Constructor Detail

      • ContentHeaders

        public ContentHeaders()

        Initializes a new instance of the ContentHeaders class.

    • Method Detail

      • getContentType

        public ContentTypeHeaderValue getContentType()

        Gets the Content-Type header value.

        Value: The type of the content.