Lines Matching defs:Retry
301 Retry retry = processResponseHeaders();
302 if (retry == Retry.NONE) {
324 throw new HttpRetryException("Cannot retry streamed HTTP body",
328 if (retry == Retry.DIFFERENT_CONNECTION) {
377 // do not retry, we didn't have an abrupt server initiated exception.
388 enum Retry {
395 * Returns the retry action to take for the current response headers. The
399 private Retry processResponseHeaders() throws IOException {
412 return credentialsFound ? Retry.SAME_CONNECTION : Retry.NONE;
419 return Retry.NONE;
426 return Retry.NONE;
431 return Retry.NONE; // Don't follow redirects to unsupported protocols.
435 return Retry.NONE; // This client doesn't follow redirects across protocols.
440 return Retry.SAME_CONNECTION;
442 return Retry.DIFFERENT_CONNECTION;
446 return Retry.NONE;