I need to send a get request to a secure url and process the response. The options that I have are java.net.UrlConnection, java.net.HttpUrlConnection and org.apache.commons.httpclient.HttpClient. What would be the best choice?
URLConnection is abstract. Most any URLConnection is actually an instance of HttpURLConnection. So that's one down. I've had good results with both HttpClient and URLConnection. HttpClient makes it easy to manage cookies so if you have to maintain a session I'd go with it.