有以下语句:
HttpClient httpClient = new HttpClient();
httpClient.getHttpConnectionManager().getParams().setConnectionTimeout(5000);
请问HttpClient只是一个接口,它如何能调用自己未实现的成员函数的呢?
------解决方案--------------------------------------------------------
你第一句话写错了吧?应该是:
HttpClient httpclient = new DefaultHttpClient();