-
public final class UnleashContextAllows the consumer to set the properties that will determine whether a flag is on or off for complex strategies and constraints Note that this SDK does not support the current time since this will not work correctly with a proxy SDK. The environment property is no longer exposed, as of v1.0 of this SDK, it's not calculated through the API key. See the documentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classUnleashContext.Companionpublic final classUnleashContext.Builder
-
Field Summary
Fields Modifier and Type Field Description private final StringuserIdprivate final StringsessionIdprivate final StringremoteAddressprivate final Map<String, String>properties
-
Method Summary
Modifier and Type Method Description final StringgetUserId()final StringgetSessionId()final StringgetRemoteAddress()final Map<String, String>getProperties()final UnleashContext.BuildernewBuilder()Used to get a new builder with current state -
-
Method Detail
-
getSessionId
final String getSessionId()
-
getRemoteAddress
final String getRemoteAddress()
-
getProperties
final Map<String, String> getProperties()
-
newBuilder
final UnleashContext.Builder newBuilder()
Used to get a new builder with current state
-
-
-
-