BasicHeaderValueFormatter.FormatHeaderElement Método

Definição

Sobrecargas

Nome Description
FormatHeaderElement(CharArrayBuffer, IHeaderElement, Boolean)

Formata um elemento de cabeçalho.

FormatHeaderElement(IHeaderElement, Boolean, IHeaderValueFormatter)

Formata um elemento de cabeçalho.

FormatHeaderElement(CharArrayBuffer, IHeaderElement, Boolean)

Formata um elemento de cabeçalho.

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

Parâmetros

buffer
CharArrayBuffer

o buffer ao qual acrescentar ou null criar um novo buffer

elem
IHeaderElement

o elemento de cabeçalho a ser formatado

quote
Boolean

true para sempre formatar com valores entre aspas, false para usar aspas somente quando necessário

Retornos

Um buffer que contém o elemento de cabeçalho formatado.

Implementações

Atributos

Comentários

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

FormatHeaderElement(IHeaderElement, Boolean, IHeaderValueFormatter)

Formata um elemento de cabeçalho.

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

Parâmetros

elem
IHeaderElement

o elemento de cabeçalho a ser formatado

quote
Boolean

true para sempre formatar com valores entre aspas, false para usar aspas somente quando necessário

formatter
IHeaderValueFormatter

o formatador a ser usado ou null para o Default

Retornos

O elemento de cabeçalho formatado.

Atributos

Comentários

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a