protected boolean canRetry()

in uber-core/src/main/java/com/uber/sdk/core/auth/BaseRefreshableAuthenticator.java [35:42]


    protected boolean canRetry(Response response) {
        int responseCount = 1;
        while ((response = response.priorResponse()) != null) {
            responseCount++;
        }

        return responseCount < MAX_RETRIES;
    }