URLConnection.RequestProperties 属性

定义

返回此连接的常规请求属性的不可修改映射。

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>>

属性值

此连接的常规请求属性的映射。

属性

注解

返回此连接的常规请求属性的不可修改映射。 映射键是表示请求标头字段名称的字符串。 每个 Map 值都是表示相应字段值的不可修改的字符串列表。

在 1.4 中添加。

适用于 . 的 java.net.URLConnection.getRequestProperties()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于