Update Java client library's getAllFeaturedFlags and getFeatureFlag methods to call POST /featureflags.
Use the new structure for request / response as defined in #1340
getAllFeatureFlags will internally call POST /featureflags with a similar structure as getAllExperimentConditions(), with userId and context, and will store the list of key strings on the client.
getFeatureFlag should take a string and return true if the flags list contains that flag key, and false if it is not found.
Update Java client library's
getAllFeaturedFlags
andgetFeatureFlag
methods to call POST/featureflags
.Use the new structure for request / response as defined in #1340
getAllFeatureFlags will internally call
POST /featureflags
with a similar structure as getAllExperimentConditions(), with userId and context, and will store the list of key strings on the client.getFeatureFlag
should take a string and returntrue
if the flags list contains that flag key, andfalse
if it is not found.