I'm modifying a existing project but I see that DefaultAsyncHttpClient
is deprecated. What to replace the deprecated one?
HttpAsyncClient httpclient;
InputStream is = null;
try {
// TODO: deprecated ??
httpclient = new DefaultHttpAsyncClient();
httpclient.start();
try {
// some code
httpclient.shutdown();
}
catch(Exception e) {
}
}
.start()
i cant fetch that method either and neither i can fetch .shutdown
method.
Thank for help!