Compartilhar via


BasicLineParser.ParseHeader Method

Definition

Overloads

ParseHeader(String, ILineParser)
ParseHeader(CharArrayBuffer)

Creates a header from a line.

ParseHeader(String, ILineParser)

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

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

ParseHeader(CharArrayBuffer)

Creates a header from a line.

[Android.Runtime.Register("parseHeader", "(Lorg/apache/http/util/CharArrayBuffer;)Lorg/apache/http/Header;", "GetParseHeader_Lorg_apache_http_util_CharArrayBuffer_Handler")]
public virtual Org.Apache.Http.IHeader? ParseHeader (Org.Apache.Http.Util.CharArrayBuffer? buffer);
[<Android.Runtime.Register("parseHeader", "(Lorg/apache/http/util/CharArrayBuffer;)Lorg/apache/http/Header;", "GetParseHeader_Lorg_apache_http_util_CharArrayBuffer_Handler")>]
abstract member ParseHeader : Org.Apache.Http.Util.CharArrayBuffer -> Org.Apache.Http.IHeader
override this.ParseHeader : Org.Apache.Http.Util.CharArrayBuffer -> Org.Apache.Http.IHeader

Parameters

buffer
CharArrayBuffer

a buffer holding the full header line. This buffer MUST NOT be re-used afterwards, since the returned object may reference the contents later.

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