BasicHeaderValueFormatter.FormatParameters Método

Definición

Sobrecargas

Nombre Description
FormatParameters(INameValuePair[], Boolean, IHeaderValueFormatter)

Da formato a un conjunto de parámetros.

FormatParameters(CharArrayBuffer, INameValuePair[], Boolean)

Da formato a los parámetros de un elemento de encabezado.

FormatParameters(INameValuePair[], Boolean, IHeaderValueFormatter)

Da formato a un conjunto de parámetros.

[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

Parámetros

nvps
INameValuePair[]

los parámetros a los que se va a dar formato

quote
Boolean

true para dar formato siempre con valores entre comillas, false para usar comillas solo cuando sea necesario

formatter
IHeaderValueFormatter

formateador que se va a usar o null para Default

Devoluciones

Parámetros con formato.

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

FormatParameters(CharArrayBuffer, INameValuePair[], Boolean)

Da formato a los parámetros de un elemento de encabezado.

[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

Parámetros

buffer
CharArrayBuffer

el búfer al que se va a anexar o null para crear un nuevo búfer

nvps
INameValuePair[]

los parámetros (pares nombre-valor) para dar formato a

quote
Boolean

true para dar formato siempre con valores entre comillas, false para usar comillas solo cuando sea necesario

Devoluciones

Búfer que contiene los parámetros con formato.

Implementaciones

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a