I'm new in Java.
I'm trying to do
import org.apache.http.Header;
Header<NameValuePair> nvps = new HeaderList<NameValuePair>();
//....adding some headers
httppost.setHeaders(nvps);
but said
The type Header is not generic; it cannot be parameterized with arguments <NameValuePair>
how I can do it?