io.servicetalk.http.netty.RetryingHttpRequesterFilterBuilder@Deprecated public static final class RetryingHttpRequesterFilter.Builder extends AbstractRetryingFilterBuilder<RetryingHttpRequesterFilter.Builder,RetryingHttpRequesterFilter,HttpRequestMetaData>
RetryingHttpRequesterFilter, which puts an upper bound on retry attempts.
To configure the maximum number of retry attempts see AbstractRetryingFilterBuilder.maxRetries(int).| Constructor and Description |
|---|
Builder()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected RetryingHttpRequesterFilter |
build(AbstractRetryingFilterBuilder.ReadOnlyRetryableSettings<HttpRequestMetaData> readOnlySettings)
Deprecated.
|
BiPredicate<HttpRequestMetaData,Throwable> |
retryForIdempotentRequestsPredicate()
Deprecated.
Behaves as
AbstractRetryingFilterBuilder.defaultRetryForPredicate(), but also retries
idempotent requests when applicable. |
buildWithConstantBackoff, buildWithConstantBackoff, buildWithConstantBackoffDeltaJitter, buildWithConstantBackoffDeltaJitter, buildWithConstantBackoffFullJitter, buildWithConstantBackoffFullJitter, buildWithExponentialBackoffDeltaJitter, buildWithExponentialBackoffDeltaJitter, buildWithExponentialBackoffFullJitter, buildWithExponentialBackoffFullJitter, buildWithImmediateRetries, defaultRetryForPredicate, maxRetries, retryForprotected RetryingHttpRequesterFilter build(AbstractRetryingFilterBuilder.ReadOnlyRetryableSettings<HttpRequestMetaData> readOnlySettings)
build in class AbstractRetryingFilterBuilder<RetryingHttpRequesterFilter.Builder,RetryingHttpRequesterFilter,HttpRequestMetaData>public BiPredicate<HttpRequestMetaData,Throwable> retryForIdempotentRequestsPredicate()
AbstractRetryingFilterBuilder.defaultRetryForPredicate(), but also retries
idempotent requests when applicable.
Note: This predicate expects that the retried requests have a
payload body that is
replayable, i.e. multiple subscribes to
the payload Publisher observe the same data. Publishers that do not emit any data or which
are created from in-memory data are typically replayable.
BiPredicate for AbstractRetryingFilterBuilder.retryFor(BiPredicate) builder method