BasicHeaderValueParser.ParseNameValuePair 方法

定义

重载

ParseNameValuePair(CharArrayBuffer, ParserCursor)

分析 name=value 规范,其中 = 和值是可选的。

ParseNameValuePair(String, IHeaderValueParser)
ParseNameValuePair(CharArrayBuffer, ParserCursor, Char[])

ParseNameValuePair(CharArrayBuffer, ParserCursor)

分析 name=value 规范,其中 = 和值是可选的。

[Android.Runtime.Register("parseNameValuePair", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/NameValuePair;", "GetParseNameValuePair_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler")]
public virtual Org.Apache.Http.INameValuePair? ParseNameValuePair (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.Message.ParserCursor? cursor);
[<Android.Runtime.Register("parseNameValuePair", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/NameValuePair;", "GetParseNameValuePair_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler")>]
abstract member ParseNameValuePair : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> Org.Apache.Http.INameValuePair
override this.ParseNameValuePair : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> Org.Apache.Http.INameValuePair

参数

cursor
ParserCursor

返回

实现

属性

注解

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

适用于

ParseNameValuePair(String, IHeaderValueParser)

[Android.Runtime.Register("parseNameValuePair", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)Lorg/apache/http/NameValuePair;", "")]
public static Org.Apache.Http.INameValuePair? ParseNameValuePair (string? value, Org.Apache.Http.Message.IHeaderValueParser? parser);
[<Android.Runtime.Register("parseNameValuePair", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)Lorg/apache/http/NameValuePair;", "")>]
static member ParseNameValuePair : string * Org.Apache.Http.Message.IHeaderValueParser -> Org.Apache.Http.INameValuePair

参数

value
String

返回

属性

注解

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

适用于

ParseNameValuePair(CharArrayBuffer, ParserCursor, Char[])

[Android.Runtime.Register("parseNameValuePair", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;[C)Lorg/apache/http/NameValuePair;", "GetParseNameValuePair_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_arrayCHandler")]
public virtual Org.Apache.Http.INameValuePair? ParseNameValuePair (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.Message.ParserCursor? cursor, char[]? delimiters);
[<Android.Runtime.Register("parseNameValuePair", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;[C)Lorg/apache/http/NameValuePair;", "GetParseNameValuePair_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_arrayCHandler")>]
abstract member ParseNameValuePair : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor * char[] -> Org.Apache.Http.INameValuePair
override this.ParseNameValuePair : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor * char[] -> Org.Apache.Http.INameValuePair

参数

cursor
ParserCursor
delimiters
Char[]

返回

属性

注解

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

适用于