BasicHeaderValueFormatter.FormatParameters Method

Definition

Overloads

FormatParameters(INameValuePair[], Boolean, IHeaderValueFormatter)

Formats a set of parameters.

FormatParameters(CharArrayBuffer, INameValuePair[], Boolean)

Formats the parameters of a header element.

FormatParameters(INameValuePair[], Boolean, IHeaderValueFormatter)

Formats a set of parameters.

[Android.Runtime.Register("formatParameters", "([Lorg/apache/http/NameValuePair;ZLorg/apache/http/message/HeaderValueFormatter;)Ljava/lang/String;", "")]
public static string? FormatParameters (Org.Apache.Http.INameValuePair[]? nvps, bool quote, Org.Apache.Http.Message.IHeaderValueFormatter? formatter);
[<Android.Runtime.Register("formatParameters", "([Lorg/apache/http/NameValuePair;ZLorg/apache/http/message/HeaderValueFormatter;)Ljava/lang/String;", "")>]
static member FormatParameters : Org.Apache.Http.INameValuePair[] * bool * Org.Apache.Http.Message.IHeaderValueFormatter -> string

Parameters

nvps
INameValuePair[]

the parameters 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

FormatParameters(CharArrayBuffer, INameValuePair[], Boolean)

Formats the parameters of a header element.

[Android.Runtime.Register("formatParameters", "(Lorg/apache/http/util/CharArrayBuffer;[Lorg/apache/http/NameValuePair;Z)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatParameters_Lorg_apache_http_util_CharArrayBuffer_arrayLorg_apache_http_NameValuePair_ZHandler")]
public virtual Org.Apache.Http.Util.CharArrayBuffer? FormatParameters (Org.Apache.Http.Util.CharArrayBuffer? buffer, Org.Apache.Http.INameValuePair[]? nvps, bool quote);
[<Android.Runtime.Register("formatParameters", "(Lorg/apache/http/util/CharArrayBuffer;[Lorg/apache/http/NameValuePair;Z)Lorg/apache/http/util/CharArrayBuffer;", "GetFormatParameters_Lorg_apache_http_util_CharArrayBuffer_arrayLorg_apache_http_NameValuePair_ZHandler")>]
abstract member FormatParameters : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.INameValuePair[] * bool -> Org.Apache.Http.Util.CharArrayBuffer
override this.FormatParameters : Org.Apache.Http.Util.CharArrayBuffer * Org.Apache.Http.INameValuePair[] * bool -> Org.Apache.Http.Util.CharArrayBuffer

Parameters

buffer
CharArrayBuffer

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

nvps
INameValuePair[]

the parameters (name-value pairs) 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