Freigeben über


BasicHeaderValueFormatter.DoFormatValue Method

Definition

Actually formats the value of a name-value pair.

[Android.Runtime.Register("doFormatValue", "(Lorg/apache/http/util/CharArrayBuffer;Ljava/lang/String;Z)V", "GetDoFormatValue_Lorg_apache_http_util_CharArrayBuffer_Ljava_lang_String_ZHandler")]
protected virtual void DoFormatValue (Org.Apache.Http.Util.CharArrayBuffer? buffer, string? value, bool quote);
[<Android.Runtime.Register("doFormatValue", "(Lorg/apache/http/util/CharArrayBuffer;Ljava/lang/String;Z)V", "GetDoFormatValue_Lorg_apache_http_util_CharArrayBuffer_Ljava_lang_String_ZHandler")>]
abstract member DoFormatValue : Org.Apache.Http.Util.CharArrayBuffer * string * bool -> unit
override this.DoFormatValue : Org.Apache.Http.Util.CharArrayBuffer * string * bool -> unit

Parameters

buffer
CharArrayBuffer

the buffer to append to, never null

value
String

the value to append, never null

quote
Boolean

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

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