com.aspose.html.net

Class ResponseHeaders

  • 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.ResponseHeaders
  • 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 ResponseHeaders
    extends com.aspose.html.internal.ms.System.Net.WebHeaderCollection

    Contains protocol headers associated with a response.

    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

      • ResponseHeaders

        public ResponseHeaders()

        Initializes a new instance of the RequestHeaders class.

    • Method Detail

      • getContentType

        public ContentTypeHeaderValue getContentType()

        Gets the Content-Type header value.

        Value: The type of the content.