BasicHeaderValueParser.ParseNameValuePair Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ParseNameValuePair(CharArrayBuffer, ParserCursor) |
Parses a name=value specification, where the = and value are optional. |
| ParseNameValuePair(String, IHeaderValueParser) |
Parses a name-value pair using the specified parser. |
| ParseNameValuePair(CharArrayBuffer, ParserCursor, Char[]) |
ParseNameValuePair(CharArrayBuffer, ParserCursor)
Parses a name=value specification, where the = and value are optional.
[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
Parameters
- buffer
- CharArrayBuffer
The buffer holding the name-value pair to parse.
- cursor
- ParserCursor
The parser cursor containing the current position and parsing bounds.
Returns
The parsed name-value pair.
Implements
- Attributes
Remarks
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
ParseNameValuePair(String, IHeaderValueParser)
Parses a name-value pair using the specified parser.
[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
Parameters
- value
- String
The name-value pair to parse.
- parser
- IHeaderValueParser
The parser to use, or null for the default parser.
Returns
The parsed name-value pair.
- Attributes
Remarks
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
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
Parameters
- buffer
- CharArrayBuffer
- cursor
- ParserCursor
- delimiters
- Char[]
Returns
- Attributes
Remarks
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.