Java.Net.CacheResponse.Headers Property
Returns an immutable Map which contains the response headers information.

Syntax

[get: Android.Runtime.Register("getHeaders", "()Ljava/util/Map;", "GetGetHeadersHandler")]
public abstract IDictionary<string, IList<string>> Headers { get; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an I/O error is encountered while retrieving the response headers.

Remarks

Returns an immutable Map which contains the response headers information. Note that URLConnection may need the original headers to be able to fully reconstruct the response. In particular, failure to provide a mapping from null to the original HTTP status line will prevent an HttpURLConnection from returning the correct response code. See URLConnection.HeaderFields.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1