Searched refs:responseCode (Results 1 – 2 of 2) sorted by relevance
237 int responseCode = connection.getResponseCode(); in downloadUrl() local238 if (responseCode != HttpsURLConnection.HTTP_OK) { in downloadUrl()239 throw new IOException("HTTP error code: " + responseCode); in downloadUrl()
167 int responseCode = localHttpURLConnection.getResponseCode(); in onHandleIntent() local169 switch (responseCode) { in onHandleIntent()