BasicLineParser.ParseProtocolVersion Method

Definition

Overloads

ParseProtocolVersion(CharArrayBuffer, ParserCursor)

Parses the textual representation of a protocol version.

ParseProtocolVersion(String, ILineParser)

ParseProtocolVersion(CharArrayBuffer, ParserCursor)

Parses the textual representation of a protocol version.

[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

Parameters

buffer
CharArrayBuffer

a buffer holding the protocol version to parse

cursor
ParserCursor

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

Returns

Implements

Attributes

Exceptions

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

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

Parameters

value
String
parser
ILineParser

Returns

Attributes

Exceptions

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