@NotThreadSafe public class UrlEncodedFormEntity extends StringEntity
contentchunked, contentEncoding, contentType| Constructor and Description |
|---|
UrlEncodedFormEntity(Iterable<? extends NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET |
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 HTTP.DEFAULT_CONTENT_CHARSET |
UrlEncodedFormEntity(List<? extends NameValuePair> parameters,
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, setContentTypepublic UrlEncodedFormEntity(List<? extends NameValuePair> parameters, String charset) throws UnsupportedEncodingException
UrlEncodedFormEntity with the list
of parameters in the specified encoding.parameters - list of name/value pairscharset - encoding the name/value pairs be encoded withUnsupportedEncodingException - if the encoding isn't supportedpublic 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) throws UnsupportedEncodingException
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSETparameters - list of name/value pairsUnsupportedEncodingException - if the default encoding isn't supportedpublic UrlEncodedFormEntity(Iterable<? extends NameValuePair> parameters)
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSETparameters - iterable collection of name/value pairsCopyright © 1999–2013 The Apache Software Foundation. All rights reserved.