Dil

HeaderBlock.AsMap Property

Definition

Returns an unmodifiable map from header field names to lists of values.

public abstract System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>> AsMap { [Android.Runtime.Register("getAsMap", "()Ljava/util/Map;", "GetGetAsMapHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getAsMap", "()Ljava/util/Map;", "GetGetAsMapHandler", ApiSince=34)>]
member this.AsMap : System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>>

Property Value

an unmodifiable map from header field names to lists of values. This value cannot be null.

Attributes

Remarks

Returns an unmodifiable map from header field names to lists of values. Order of each list of values for a single header field is: For response, the same order they were received over the wire. For request, the same order they were added. The iteration order of keys is unspecified.

Android reference for android.net.http.HeaderBlock.getAsMap.

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