title: In Android, why are all org.apache.http.* classes deprecated in API 22 (and what should I use as replacements)?
body: <p>I use <code>ThreadSafeClientConnManager</code> in my app, and a bunch of other classes like HttpStatus, SSLSocketFactory, PlainSocketFactory, SchemeRegistry, etc. But as of API 22 thery're all being marked as deprecated, and I don't see any clear indication as to what replaced them. The documentation jas says to "Please use <a href="http://developer.android.com/reference/java/net/URL.html#openConnection()">openConnection()</a> instead. Please visit <a href="http://android-developers.blogspot.com/2011/09/androids-http-clients.html">this webpage</a> for further details", and that doesn't make it very clear what to do. <code>openConnection()</code> just points to the URL class, and the webpage link is from 2011 that talks about the differences between the Apache classes and <code>HttpUtrlConnection</code>. So, does that mean that we're supposed to be useign <code>HttpUrlConnection</code> class from now on? And if that's the case, I thought that it wasn't thread safe (which is why I was using the <code>ThreadSafeClientConnManager</code>). </p>
  
  <p>Could someone please clarify this for me?</p>