BasicLineParser.ParseHeader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.