Package io.getunleash.util
Class UnleashConfig
- java.lang.Object
-
- io.getunleash.util.UnleashConfig
-
public class UnleashConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUnleashConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnleashConfig.Builderbuilder()StringgetAppName()StringgetBackupFile()UnleashContextProvidergetContextProvider()Map<String,String>getCustomHttpHeaders()CustomHttpHeadersProvidergetCustomHttpHeadersProvider()StringgetEnvironment()StrategygetFallbackStrategy()longgetFetchTogglesInterval()StringgetInstanceId()StringgetNamePrefix()StringgetProjectName()ProxygetProxy()UnleashScheduledExecutorgetScheduledExecutor()StringgetSdkVersion()longgetSendMetricsInterval()UnleashSubscribergetSubscriber()ToggleBootstrapProvidergetToggleBootstrapProvider()URIgetUnleashAPI()UnleashURLsgetUnleashURLs()booleanisDisableMetrics()booleanisProxyAuthenticationByJvmProperties()booleanisSynchronousFetchOnInitialisation()static voidsetRequestProperties(HttpURLConnection connection, UnleashConfig config)
-
-
-
Method Detail
-
builder
public static UnleashConfig.Builder builder()
-
setRequestProperties
public static void setRequestProperties(HttpURLConnection connection, UnleashConfig config)
-
getUnleashAPI
public URI getUnleashAPI()
-
getCustomHttpHeadersProvider
public CustomHttpHeadersProvider getCustomHttpHeadersProvider()
-
getAppName
public String getAppName()
-
getEnvironment
public String getEnvironment()
-
getInstanceId
public String getInstanceId()
-
getSdkVersion
public String getSdkVersion()
-
getFetchTogglesInterval
public long getFetchTogglesInterval()
-
getSendMetricsInterval
public long getSendMetricsInterval()
-
getUnleashURLs
public UnleashURLs getUnleashURLs()
-
isDisableMetrics
public boolean isDisableMetrics()
-
getBackupFile
public String getBackupFile()
-
isSynchronousFetchOnInitialisation
public boolean isSynchronousFetchOnInitialisation()
-
getContextProvider
public UnleashContextProvider getContextProvider()
-
getScheduledExecutor
public UnleashScheduledExecutor getScheduledExecutor()
-
getSubscriber
public UnleashSubscriber getSubscriber()
-
isProxyAuthenticationByJvmProperties
public boolean isProxyAuthenticationByJvmProperties()
-
getToggleBootstrapProvider
@Nullable public ToggleBootstrapProvider getToggleBootstrapProvider()
-
-