次の方法で共有


BasicHeaderValueFormatter.FormatElements Method

Definition

Overloads

FormatElements(IHeaderElement[], Boolean, IHeaderValueFormatter)

Formats an array of header elements.

FormatElements(CharArrayBuffer, IHeaderElement[], Boolean)

Formats an array of header elements.

FormatElements(IHeaderElement[], Boolean, IHeaderValueFormatter)

Formats an array of header elements.

[Android.Runtime.Register("formatElements", "([Lorg/apache/http/HeaderElement;ZLorg/apache/http/message/HeaderValueFormatter;)Ljava/lang/String;", "")]
public static string? FormatElements (Org.Apache.Http.IHeaderElement[]? elems, bool quote, Org.Apache.Http.Message.IHeaderValueFormatter? formatter);
[<Android.Runtime.Register("formatElements", "([Lorg/apache/http/HeaderElement;ZLorg/apache/http/message/HeaderValueFormatter;)Ljava/lang/String;", "")>]
static member FormatElements : Org.Apache.Http.IHeaderElement[] * bool * Org.Apache.Http.Message.IHeaderValueFormatter -> string

Parameters

elems
IHeaderElement[]

the header elements to format

quote
Boolean

true to always format with quoted values, false to use quotes only when necessary

formatter
IHeaderValueFormatter

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

FormatElements(CharArrayBuffer, IHeaderElement[], Boolean)

Formats an array of header elements.

[Android.Runtime.Register("formatElements", "(Lorg/apache/http/util/CharArrayBuffer;[Lorg/apache/http/HeaderElement;Z)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatElements_Lorg_apache_http_util_CharArrayBuffer_arrayLorg_apache_http_HeaderElement_ZHandler")]
public virtual Org.Apache.Http.Util.CharArrayBuffer? FormatElements (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.IHeaderElement[]? elems, bool quote);
[<Android.Runtime.Register("formatElements", "(Lorg/apache/http/util/CharArrayBuffer;[Lorg/apache/http/HeaderElement;Z)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatElements_Lorg_apache_http_util_CharArrayBuffer_arrayLorg_apache_http_HeaderElement_ZHandler")>]
abstract member FormatElements : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.IHeaderElement[] * bool -> Org.Apache.Http.Util.CharArrayBuffer
override this.FormatElements : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.IHeaderElement[] * bool -> Org.Apache.Http.Util.CharArrayBuffer

Parameters

buffer
CharArrayBuffer

the buffer to append to, or null to create a new buffer

elems
IHeaderElement[]

the header elements to format

quote
Boolean

true to always format with quoted values, false to use quotes only when necessary

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