httpStatusRetry


Description:

public Retry httpStatusRetry (ArrayList<int> statusCodes)

Configures retry predicate from HTTP status code list.

The failure reason passed to retry operations is scanned for 3-digit HTTP status code patterns and retried only when matched.

Parameters:

statusCodes

retryable status codes.

Returns:

this retry instance.