Freigeben über


BasicLineFormatter.FormatStatusLine Method

Definition

Overloads

FormatStatusLine(IStatusLine, ILineFormatter)

Formats a status line.

FormatStatusLine(CharArrayBuffer, IStatusLine)

Formats a status line.

FormatStatusLine(IStatusLine, ILineFormatter)

Formats a status line.

[Android.Runtime.Register("formatStatusLine", "(Lorg/apache/http/StatusLine;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;", "")]
public static string? FormatStatusLine (Org.Apache.Http.IStatusLine? statline, Org.Apache.Http.Message.ILineFormatter? formatter);
[<Android.Runtime.Register("formatStatusLine", "(Lorg/apache/http/StatusLine;Lorg/apache/http/message/LineFormatter;)Ljava/lang/String;", "")>]
static member FormatStatusLine : Org.Apache.Http.IStatusLine * Org.Apache.Http.Message.ILineFormatter -> string

Parameters

statline
IStatusLine

the status line 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

FormatStatusLine(CharArrayBuffer, IStatusLine)

Formats a status line.

[Android.Runtime.Register("formatStatusLine", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/StatusLine;)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatStatusLine_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_StatusLine_Handler")]
public virtual Org.Apache.Http.Util.CharArrayBuffer? FormatStatusLine (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.IStatusLine? statline);
[<Android.Runtime.Register("formatStatusLine", "(Lorg/apache/http/util/CharArrayBuffer;Lorg/apache/http/StatusLine;)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatStatusLine_Lorg_apache_http_util_CharArrayBuffer_Lorg_apache_http_StatusLine_Handler")>]
abstract member FormatStatusLine : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.IStatusLine -> Org.Apache.Http.Util.CharArrayBuffer
override this.FormatStatusLine : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.IStatusLine -> Org.Apache.Http.Util.CharArrayBuffer

Parameters

buffer
CharArrayBuffer

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

statline
IStatusLine

the status line 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