@NotThreadSafe public class UrlEncodedFormEntity extends org.apache.http.entity.StringEntity
| Constructor and Description |
|---|
UrlEncodedFormEntity(List<? extends org.apache.http.NameValuePair> parameters)
Constructs a new
UrlEncodedFormEntity with the list
of parameters with the default encoding of HTTP.DEFAULT_CONTENT_CHARSET |
UrlEncodedFormEntity(List<? extends org.apache.http.NameValuePair> parameters,
String encoding)
Constructs a new
UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTopublic UrlEncodedFormEntity(List<? extends org.apache.http.NameValuePair> parameters, String encoding) throws UnsupportedEncodingException
UrlEncodedFormEntity with the list
of parameters in the specified encoding.parameters - list of name/value pairsencoding - encoding the name/value pairs be encoded withUnsupportedEncodingException - if the encoding isn't supportedpublic UrlEncodedFormEntity(List<? extends org.apache.http.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 supportedCopyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.