语言

BestMatchSpec.FormatCookies(IList<ICookie>) 方法

定义

将 Cookie 格式设置为此 Cookie 规范所需的请求标头。

[Android.Runtime.Register("formatCookies", "(Ljava/util/List;)Ljava/util/List;", "GetFormatCookies_Ljava_util_List_Handler")]
public virtual System.Collections.Generic.IList<Org.Apache.Http.IHeader>? FormatCookies(System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie>? cookies);
[<Android.Runtime.Register("formatCookies", "(Ljava/util/List;)Ljava/util/List;", "GetFormatCookies_Ljava_util_List_Handler")>]
abstract member FormatCookies : System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie> -> System.Collections.Generic.IList<Org.Apache.Http.IHeader>
override this.FormatCookies : System.Collections.Generic.IList<Org.Apache.Http.Cookies.ICookie> -> System.Collections.Generic.IList<Org.Apache.Http.IHeader>

参数

cookies
IList<ICookie>

要格式化为请求标头的 Cookie。

返回

表示格式化 Cookie 的 HTTP 标头列表。

实现

特性

注解

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

适用于