Sono nuovo in Java.Come creare un array di org.apache.http.Header?
che sto cercando di fare
import org.apache.http.Header;
Header<NameValuePair> nvps = new HeaderList<NameValuePair>();
//....adding some headers
httppost.setHeaders(nvps);
ma ha detto
The type Header is not generic; it cannot be parameterized with arguments <NameValuePair>
come posso farlo?
Segna come corretta? – Sunkas