HttpRequest aclient = HttpClient.newClient().request(url);
aclient.send();
aclient.readAll(out,
//Long.MAX_VALUE);//
2000000);
aclient.release(); // return connection to pool
return out;
}
public static BBuffer getUrl(String path) throws IOException {
BBuffer out = BBuffer.allocate();