public class ContentHeaders
extends com.aspose.ms.System.Net.WebHeaderCollection
Contains the headers associated with a content.
WebHeaderCollection
Constructor and Description |
---|
ContentHeaders()
Initializes a new instance of the
ContentHeaders class. |
Modifier and Type | Method and Description |
---|---|
ContentTypeHeaderValue |
getContentType()
Gets the Content-Type header value.
|
add_Rename_Namesake, add, add, add, addInternal, addInternal, addWithoutValidate, 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
add, copyTo, get_Item, get_Item, hasKeys, invalidateCachedArrays, set_Item
baseAdd, baseClear, baseGet, baseGet, baseGetAllKeys, baseGetAllValues, baseGetAllValues, baseGetKey, baseHasKeys, baseRemove, baseRemoveAt, baseSet, baseSet, getSyncRoot, isReadOnly, isReadOnly, isSynchronized
public ContentHeaders()
Initializes a new instance of the ContentHeaders
class.
public ContentTypeHeaderValue getContentType()
Gets the Content-Type header value.
Value: The type of the content.