Click or drag to resize
IObjectStorageMetadataProcessor.ProcessMetadata Method
Extracts metadata information from a collection of HTTP headers. The returned collection may include multiple types of metadata information. The keys of the collection represent the type of metadata, and the values are key-value collections of the corresponding metadata.

Namespace: net.openstack.Core
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
Dictionary<string, Dictionary<string, string>> ProcessMetadata(
	IList<HttpHeader> httpHeaders
)

Parameters

httpHeaders
Type: System.Collections.Generic.IList<HttpHeader>
The collection of HTTP headers.

Return Value

Type: Dictionary<String, Dictionary<String, String>>
The metadata.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf httpHeaders is null.
ArgumentException If httpHeaders contains any null values.

-or-

If httpHeaders contains any values with a null or empty Key.

-or-

If httpHeaders contains two headers with equivalent values for Key when compared using OrdinalIgnoreCase.

Remarks
Note Notes to Implementers
The resulting metadata dictionaries should use the OrdinalIgnoreCase equality comparer to ensure lookups are not case sensitive.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also