@NotThreadSafe public class UrlEncodedFormEntity extends StringEntity
contentchunked, contentEncoding, contentType, OUTPUT_BUFFER_SIZE| Constructor and Description |
|---|
UrlEncodedFormEntity(java.lang.Iterable<? extends NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET |
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 HTTP.DEFAULT_CONTENT_CHARSET |
UrlEncodedFormEntity(java.util.List<? extends NameValuePair> parameters,
java.lang.String charset)
Constructs a new
UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
clone, getContent, getContentLength, isRepeatable, isStreaming, writeToconsumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType, toStringpublic UrlEncodedFormEntity(java.util.List<? extends NameValuePair> parameters, java.lang.String charset) throws java.io.UnsupportedEncodingException
UrlEncodedFormEntity with the list
of parameters in the specified encoding.parameters - list of name/value pairscharset - encoding the name/value pairs be encoded withjava.io.UnsupportedEncodingException - if the encoding isn't supportedpublic 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) throws java.io.UnsupportedEncodingException
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSETparameters - list of name/value pairsjava.io.UnsupportedEncodingException - if the default encoding isn't supportedpublic UrlEncodedFormEntity(java.lang.Iterable<? extends NameValuePair> parameters)
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSETparameters - iterable collection of name/value pairs