public class UrlEncodedFormEntity
extends StringEntity
| Constructor and Description |
|---|
UrlEncodedFormEntity(java.lang.Iterable<? extends NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of ContentType#APPLICATION_FORM_URLENCODED |
UrlEncodedFormEntity(java.lang.Iterable<? extends NameValuePair> parameters,
java.nio.charset.Charset charset)
Constructs a new
UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
UrlEncodedFormEntity(java.util.List<? extends NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of ContentType#APPLICATION_FORM_URLENCODED |
public UrlEncodedFormEntity(java.lang.Iterable<? extends NameValuePair> parameters,
java.nio.charset.Charset charset)
UrlEncodedFormEntity with the list
of parameters in the specified encoding.parameters - iterable collection of name/value pairscharset - encoding the name/value pairs be encoded withpublic UrlEncodedFormEntity(java.util.List<? extends NameValuePair> parameters)
UrlEncodedFormEntity with the list
of parameters with the default encoding of ContentType#APPLICATION_FORM_URLENCODEDparameters - list of name/value pairspublic UrlEncodedFormEntity(java.lang.Iterable<? extends NameValuePair> parameters)
UrlEncodedFormEntity with the list
of parameters with the default encoding of ContentType#APPLICATION_FORM_URLENCODEDparameters - iterable collection of name/value pairs