Share via


BasicLineFormatter.FormatHeader Method

Definition

Overloads

FormatHeader(CharArrayBuffer, IHeader)

Formats a header.

FormatHeader(IHeader, ILineFormatter)

Formats a header.

FormatHeader(CharArrayBuffer, IHeader)

Formats a header.

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

Parameters

buffer
CharArrayBuffer

a buffer available for formatting, or null. The buffer will be cleared before use.

header
IHeader

the header to format

Returns

Implements

Attributes

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

FormatHeader(IHeader, ILineFormatter)

Formats a header.

[Android.Runtime.Register("formatHeader", "(Lorg/apache/http/Header;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;", "")]
public static string? FormatHeader (Org.Apache.Http.IHeader? header, Org.Apache.Http.Message.ILineFormatter? formatter);
[<Android.Runtime.Register("formatHeader", "(Lorg/apache/http/Header;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;", "")>]
static member FormatHeader : Org.Apache.Http.IHeader * Org.Apache.Http.Message.ILineFormatter -> string

Parameters

header
IHeader

the header to format

formatter
ILineFormatter

the formatter to use, or null for the Default

Returns

Attributes

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