awaitEntityWithRetry
inline suspend fun <T : Any> WebClient.ResponseSpec.awaitEntityWithRetry(retrySpec: Retry): ResponseEntity<T>
Extension for WebClient.ResponseSpec.toEntity providing a awaitEntityWithRetry<Foo>(Retry) variant leveraging Kotlin reified type parameters and allows kotlin.coroutines.CoroutineContext propagation to the CoExchangeFilterFunction. This extension is not subject to type erasure and retains actual generic type arguments.
Since
7.0.9
Parameters
retrySpec
the Retry strategy passed to the Mono.retryWhen
Type Parameters
T
the type of the body