NameValuePair is a special pair which is used to represent parameters in http request, i.e. www.xxx.com?key=value.
NameValuePair is an interface and is defined in apache http client, which is widely used in java to handle http operations. A List is just a list of pairs, and will be used as params in http post request.