| Modifier and Type | Method and Description |
|---|---|
FlagsmithClient.Builder |
FlagsmithClient.Builder.enableLogging()
Enables logging, the project importing this module must include an implementation slf4j in their pom.
|
FlagsmithClient.Builder |
FlagsmithClient.Builder.enableLogging(FlagsmithLoggerLevel level)
Enables logging, the project importing this module must include an implementation slf4j in their pom.
|
static FlagsmithClient.Builder |
FlagsmithClient.newBuilder() |
FlagsmithClient.Builder |
FlagsmithClient.Builder.setApiKey(String apiKey)
Set the environment API key
|
FlagsmithClient.Builder |
FlagsmithClient.Builder.withApiUrl(String apiUrl)
Set the base URL for Flagsmith API, overriding default one.
|
FlagsmithClient.Builder |
FlagsmithClient.Builder.withCache(FlagsmithCacheConfig cacheConfig)
Enable in-memory caching for the Flagsmith API.
|
FlagsmithClient.Builder |
FlagsmithClient.Builder.withConfiguration(FlagsmithConfig config)
Override default FlagsmithConfig for Flagsmith API.
|
FlagsmithClient.Builder |
FlagsmithClient.Builder.withCustomHttpHeaders(HashMap<String,String> customHeaders)
Add custom HTTP headers to the calls.
|
Copyright © 2021. All rights reserved.