Dil

CacheResponse.Headers Property

Definition

Returns an immutable Map which contains the response headers information.

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

Property Value

An immutable Map from response header field names to lists of field values. The status line has null as its field name.

Attributes

Exceptions

if an I/O error is encountered while retrieving the response headers.

Remarks

Returns the response headers as a Map.

Java reference for java.net.CacheResponse.getHeaders.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to