Skip to content

Category: Android

Jersey vs. HttpURLConnection for a RESTful Android client

Since Google officially deprecated the HTTPClient and related methods after Android API 22. I thought it would be interesting to compare their recommended alternative (HttpURLConnection) with my preferred RESTful client; Jersey. The following example is an implementation of HttpURLConnection to query a RESTful Webservice to…

Continue reading Jersey vs. HttpURLConnection for a RESTful Android client