Condividi tramite


ILineParser.ParseRequestLine(CharArrayBuffer, ParserCursor) Method

Definition

Parses a request line.

[Android.Runtime.Register("parseRequestLine", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/RequestLine;", "GetParseRequestLine_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler:Org.Apache.Http.Message.ILineParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.Apache.Http.IRequestLine? ParseRequestLine (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.Message.ParserCursor? cursor);
[<Android.Runtime.Register("parseRequestLine", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/RequestLine;", "GetParseRequestLine_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_message_ParserCursor_Handler:Org.Apache.Http.Message.ILineParserInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member ParseRequestLine : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> Org.Apache.Http.IRequestLine

Parameters

buffer
CharArrayBuffer

a buffer holding the line to parse

cursor
ParserCursor

the parser cursor containing the current position and the bounds within the buffer for the parsing operation

Returns

Attributes

Exceptions

in case of a parse error

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