共用方式為


BasicLineParser.ParseProtocolVersion 方法

定義

多載

ParseProtocolVersion(CharArrayBuffer, ParserCursor)

剖析通訊協定版本的文字表示法。

ParseProtocolVersion(String, ILineParser)

ParseProtocolVersion(CharArrayBuffer, ParserCursor)

剖析通訊協定版本的文字表示法。

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

參數

buffer
CharArrayBuffer

包含要剖析之通訊協定版本的緩衝區

cursor
ParserCursor

剖析器數據指標,其中包含剖析作業之緩衝區內的目前位置和界限

傳回

實作

屬性

例外狀況

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

ParseProtocolVersion(String, ILineParser)

[Android.Runtime.Register("parseProtocolVersion", "(Ljava/lang/String;Lorg/apache/http/message/LineParser;)Lorg/apache/http/ProtocolVersion;", "")]
public static Org.Apache.Http.ProtocolVersion? ParseProtocolVersion (string? value, Org.Apache.Http.Message.ILineParser? parser);
[<Android.Runtime.Register("parseProtocolVersion", "(Ljava/lang/String;Lorg/apache/http/message/LineParser;)Lorg/apache/http/ProtocolVersion;", "")>]
static member ParseProtocolVersion : string * Org.Apache.Http.Message.ILineParser -> Org.Apache.Http.ProtocolVersion

參數

value
String
parser
ILineParser

傳回

屬性

例外狀況

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於