我已经设法对所有内容进行了更改,但以下内容除外:
HttpClient client;
HttpPost method;
client = new DefaultHttpClient();
method = new HttpPost(url);
InputStream rstream;
try {
rstream = method.getResponseBodyAsStream();
} catch (IOException e) {
return BadSpot(e.getMessage());
}
我不确定应该用什么替换 getResponseBodyAsStream() 。