I am using DefaultHttpClient in my current app.
I read this article which states that the DefaultHttpClient is deprecated: http://develope
It's Time to switch over to OkHttp which does HTTP efficiently and makes your stuff load faster and saves bandwidth.It supports both synchronous blocking calls and async calls with callbacks.
OkHttp supports Android 2.3 and above.
Add the below dependency to your android Project.
compile 'com.squareup.okhttp:okhttp:2.4.0'