Save This Page
Home » httpcomponents-client-4.0.1-src » org.apache » http » client » entity » [javadoc | source]
org.apache.http.client.entity
public class: UrlEncodedFormEntity [javadoc | source]
java.lang.Object
   org.apache.http.entity.StringEntity
      org.apache.http.client.entity.UrlEncodedFormEntity
An entity composed of a list of url-encoded pairs. This is typically useful while sending an HTTP POST request.
Constructor:
 public UrlEncodedFormEntity(List<NameValuePair> parameters) throws UnsupportedEncodingException 
    Parameters:
    parameters - list of name/value pairs
    Throws:
    UnsupportedEncodingException - if the default encoding isn't supported
 public UrlEncodedFormEntity(List<NameValuePair> parameters,
    String encoding) throws UnsupportedEncodingException 
    Parameters:
    parameters - list of name/value pairs
    encoding - encoding the name/value pairs be encoded with
    Throws:
    UnsupportedEncodingException - if the encoding isn't supported
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait