BasicHeaderValueParser.ParseElements 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 |
|---|---|
| ParseElements(CharArrayBuffer, ParserCursor) |
Parses a header value into elements. |
| ParseElements(String, IHeaderValueParser) |
Parses header elements using the specified parser. |
ParseElements(CharArrayBuffer, ParserCursor)
Parses a header value into elements.
[Android.Runtime.Register("parseElements", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)[Lorg/apache/http/HeaderElement;", "GetParseElements_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler")]
public virtual Org.Apache.Http.IHeaderElement[]? ParseElements(Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.Message.ParserCursor? cursor);
[<Android.Runtime.Register("parseElements", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)[Lorg/apache/http/HeaderElement;", "GetParseElements_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler")>]
abstract member ParseElements : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> Org.Apache.Http.IHeaderElement[]
override this.ParseElements : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> Org.Apache.Http.IHeaderElement[]
Parameters
- buffer
- CharArrayBuffer
The buffer holding the header value to parse.
- cursor
- ParserCursor
The parser cursor containing the current position and parsing bounds.
Returns
All parsed header elements.
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
ParseElements(String, IHeaderValueParser)
Parses header elements using the specified parser.
[Android.Runtime.Register("parseElements", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)[Lorg/apache/http/HeaderElement;", "")]
public static Org.Apache.Http.IHeaderElement[]? ParseElements(string? value, Org.Apache.Http.Message.IHeaderValueParser? parser);
[<Android.Runtime.Register("parseElements", "(Ljava/lang/String;Lorg/apache/http/message/HeaderValueParser;)[Lorg/apache/http/HeaderElement;", "")>]
static member ParseElements : string * Org.Apache.Http.Message.IHeaderValueParser -> Org.Apache.Http.IHeaderElement[]
Parameters
- value
- String
The header value to parse.
- parser
- IHeaderValueParser
The parser to use, or null for the default parser.
Returns
An array of parsed header elements.
- 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.