共用方式為


ILineParser.ParseStatusLine(CharArrayBuffer, ParserCursor) Method

Definition

Parses a status line.

[Android.Runtime.Register("parseStatusLine", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/StatusLine;", "GetParseStatusLine_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.IStatusLine? ParseStatusLine (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.Message.ParserCursor? cursor);
[<Android.Runtime.Register("parseStatusLine", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/message/ParserCursor;)Lorg/apache/http/StatusLine;", "GetParseStatusLine_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 ParseStatusLine : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.Message.ParserCursor -> Org.Apache.Http.IStatusLine

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