101102103104105106107108
callback.onSuccess(response); } else if (httpCode >= 300 && httpCode < 400) { //no success } else if (httpCode >= 400 && httpCode < 600) { } else if (httpCode < 600) { callback.onFailure(new RestException(httpCode, response)); } }