Interface ConjureClients.WithClientOptions<T>
- Enclosing class:
ConjureClients
@CheckReturnValue
public static interface ConjureClients.WithClientOptions<T>
Options which users may want to tune when building a client.
Implementors of this interface are expected to return their own type as the type parameter
T, so that
calls to these methods can be chained. Intended to be immutable.-
Method Summary
Modifier and TypeMethodDescriptionwithConjureErrorParameterFormat(com.palantir.conjure.java.api.errors.ConjureErrorParameterFormat format) withFailedUrlCooldown(Duration duration) The amount of time a URL marked as failed should be avoided for subsequent calls.withHostEventsSink(HostEventsSink hostEventsSink) Per-host success/failure information will be recorded to this sink.withMaxNumRetries(int maxNumRetries) How should a client choose which URI to send requests to.withSecurityProvider(Provider securityProvider) withTaggedMetrics(com.palantir.tritium.metrics.registry.TaggedMetricRegistry metrics) withUserAgent(com.palantir.conjure.java.api.config.service.UserAgent agent)
-
Method Details
-
withNodeSelectionStrategy
How should a client choose which URI to send requests to. -
withFailedUrlCooldown
-
withClientQoS
-
withServerQoS
-
withRetryOnTimeout
-
withSecurityProvider
-
withMaxNumRetries
-
withTaggedMetrics
-
withUserAgent
-
withHostEventsSink
Per-host success/failure information will be recorded to this sink. -
withConjureErrorParameterFormat
T withConjureErrorParameterFormat(com.palantir.conjure.java.api.errors.ConjureErrorParameterFormat format)
-