retryOnException

Configures the retry predicate, used to determine if, based on the caught throwable, the underlying request should be retried.

Parameters

predicate

the predicate to use.