Class ConductorClient.Builder<T extends ConductorClient.Builder<T>>
java.lang.Object
com.netflix.conductor.client.http.ConductorClient.Builder<T>
- Enclosing class:
- ConductorClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHeaderSupplier(HeaderSupplier headerSupplier) protected voidbuild()callTimeout(long callTimeout) configureOkHttp(Consumer<okhttp3.OkHttpClient.Builder> configurer) Use it to apply additional custom configurations to the OkHttp3 client.connectTimeout(long connectTimeout) protected List<HeaderSupplier>protected booleankeyManagers(KeyManager[] keyManagers) objectMapperSupplier(Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapperSupplier) Use it to supply a custom ObjectMapper.readTimeout(long readTimeout) protected Tself()sslCaCert(InputStream sslCaCert) useEnvVariables(boolean useEnvVariables) protected voidverifyingSsl(boolean verifyingSsl) writeTimeout(long writeTimeout)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
-
basePath
-
verifyingSsl
-
sslCaCert
-
keyManagers
-
connectTimeout
-
readTimeout
-
writeTimeout
-
callTimeout
-
proxy
-
connectionPoolConfig
-
configureOkHttp
Use it to apply additional custom configurations to the OkHttp3 client. E.g.: add an interceptor.- Parameters:
configurer-- Returns:
-
objectMapperSupplier
public T objectMapperSupplier(Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapperSupplier) Use it to supply a custom ObjectMapper.- Parameters:
objectMapperSupplier-- Returns:
-
addHeaderSupplier
-
headerSupplier
-
useEnvVariables
-
isUseEnvVariables
protected boolean isUseEnvVariables() -
build
-
validateAndAssignDefaults
protected void validateAndAssignDefaults() -
applyEnvVariables
protected void applyEnvVariables()
-