I've downloaded the HttpClient from http://hc.apache.org/downloads.cgi (binary 4.2.5.zip). Oddly enough, there is no "NameValuePath" interface at the path specified in javadoc. How to fix it?
You need HttpCore 4.2.4 in addition to HttpClient 4.2.5. Both can be downloaded from the same page.
Note that org.apache.http.NameValuePair
can be found in the Core documentation.