Udostępnij za pośrednictwem


URLConnection.RequestProperties Property

Definition

Returns an unmodifiable Map of general request properties for this connection.

public virtual System.Collections.Generic.IDictionary<string,System.Collections.Generic.IList<string>>? RequestProperties { [Android.Runtime.Register("getRequestProperties", "()Ljava/util/Map;", "GetGetRequestPropertiesHandler")] get; }
[<get: Android.Runtime.Register("getRequestProperties", "()Ljava/util/Map;", "GetGetRequestPropertiesHandler")>]
member this.RequestProperties : System.Collections.Generic.IDictionary<string, System.Collections.Generic.IList<string>>

Property Value

a Map of the general request properties for this connection.

Attributes

Remarks

Returns an unmodifiable Map of general request properties for this connection. The Map keys are Strings that represent the request-header field names. Each Map value is a unmodifiable List of Strings that represents the corresponding field values.

Added in 1.4.

Java documentation for java.net.URLConnection.getRequestProperties().

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