Interface PartialServiceConfiguration
@DoNotLog
@Immutable
public interface PartialServiceConfiguration
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.palantir.tokens.auth.BearerToken> apiToken()The API token to be used to interact with the service.The size of one backoff time slot for call retries.builder()Connect timeout for requests.Enables slower, but more standard cipher suite support, defaults to false.Whether or not to allow the http/2 protocol.Deprecated.This option will be removed by the end of 2019.The maximum number of times a failed RPC call should be retried.static PartialServiceConfigurationof(List<String> uris, Optional<com.palantir.conjure.java.api.config.ssl.SslConfiguration> sslConfig) Proxy configuration for connecting to the service.Read timeout for requests.Optional<com.palantir.conjure.java.api.config.ssl.SslConfiguration> security()The SSL configuration needed to interact with the service.uris()A list of service URIs.Write timeout for requests.
-
Method Details
-
apiToken
The API token to be used to interact with the service. -
security
Optional<com.palantir.conjure.java.api.config.ssl.SslConfiguration> security()The SSL configuration needed to interact with the service. -
uris
-
connectTimeout
Optional<HumanReadableDuration> connectTimeout()Connect timeout for requests. -
readTimeout
Optional<HumanReadableDuration> readTimeout()Read timeout for requests. -
writeTimeout
Optional<HumanReadableDuration> writeTimeout()Write timeout for requests. -
maxNumRetries
-
backoffSlotSize
Optional<HumanReadableDuration> backoffSlotSize()The size of one backoff time slot for call retries. For example, an exponential backoff retry algorithm may choose a backoff time in[0, backoffSlotSize * 2^c]for the c-th retry. -
enableGcmCipherSuites
-
enableHttp2
-
fallbackToCommonNameVerification
Deprecated.This option will be removed by the end of 2019. Certificates are expected to provide valid SANs.Enables fallback to common name verification, defaults to false. -
proxyConfiguration
Optional<ProxyConfiguration> proxyConfiguration()Proxy configuration for connecting to the service. If absent, uses system proxy configuration. -
of
static PartialServiceConfiguration of(List<String> uris, Optional<com.palantir.conjure.java.api.config.ssl.SslConfiguration> sslConfig) -
builder
-