An interface to handle each HttpURLConnection responseCode