Interface RetryStrategyWithContent<T extends Response>

Type Parameters:
T - the response type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated
@FunctionalInterface
public interface RetryStrategyWithContent<T extends Response>
Deprecated.
Determines whether a failed request should be retried using the content of a Response. If you just need the headers to make a decision, use RetryStrategy for efficiency.
  • Method Summary

    Modifier and Type Method Description
    CompletionStage<Backoff> shouldRetry​(ClientRequestContext ctx, T response)
    Deprecated.
    Use RetryRuleWithContent#shouldRetry(ClientRequestContext, Response)