public class UrlEncodedFormEntity extends StringEntity
| Constructor and Description |
|---|
UrlEncodedFormEntity(Iterable<? extends NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of ContentType.APPLICATION_FORM_URLENCODED |
UrlEncodedFormEntity(Iterable<? extends NameValuePair> parameters,
Charset charset)
Constructs a new
UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
UrlEncodedFormEntity(List<? extends NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of ContentType.APPLICATION_FORM_URLENCODED |
close, getContent, getContentLength, isRepeatable, isStreaming, writeTogetContentEncoding, getContentType, getTrailerNames, getTrailers, isChunked, toString, writeTopublic UrlEncodedFormEntity(Iterable<? extends NameValuePair> parameters, 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(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(Iterable<? extends NameValuePair> parameters)
UrlEncodedFormEntity with the list
of parameters with the default encoding of ContentType.APPLICATION_FORM_URLENCODEDparameters - iterable collection of name/value pairsCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.