Uses of Class
com.flagsmith.FlagsmithClient.Builder
Packages that use FlagsmithClient.Builder
-
Uses of FlagsmithClient.Builder in com.flagsmith
Methods in com.flagsmith that return FlagsmithClient.BuilderModifier and TypeMethodDescriptionFlagsmithClient.Builder.enableLogging()Enables logging, the project importing this module must include an implementation slf4j in their pom.FlagsmithClient.Builder.enableLogging(FlagsmithLoggerLevel level) Enables logging, the project importing this module must include an implementation slf4j in their pom.FlagsmithClient.Builder.enableLogging(org.slf4j.Logger logger) Enables logging, the project importing this module must include an implementation slf4j in their pom.static FlagsmithClient.BuilderFlagsmithClient.newBuilder()Set the environment API key.FlagsmithClient.Builder.setDefaultFlagValueFunction(@NonNull Function<String, BaseFlag> defaultFlagValueFunction) When a flag does not exist in Flagsmith or there is an error, the SDK will return null by default.FlagsmithClient.Builder.withApiUrl(String apiUrl) Set the base URL for Flagsmith API, overriding default one.FlagsmithClient.Builder.withCache(FlagsmithCacheConfig cacheConfig) Enable in-memory caching for the Flagsmith API.FlagsmithClient.Builder.withConfiguration(FlagsmithConfig config) Override default FlagsmithConfig for Flagsmith API.FlagsmithClient.Builder.withCustomHttpHeaders(HashMap<String, String> customHeaders) Add custom HTTP headers to the calls.FlagsmithClient.Builder.withFlagsmithApiWrapper(FlagsmithApiWrapper flagsmithApiWrapper) Set the api wrapper.FlagsmithClient.Builder.withPollingManager(PollingManager manager) Set the polling manager.