
com.launchdarkly.client.FeatureRequestor Maven / Gradle / Ivy
package com.launchdarkly.client;
import java.io.Closeable;
import java.io.IOException;
import java.util.Map;
interface FeatureRequestor extends Closeable {
FeatureFlag getFlag(String featureKey) throws IOException, HttpErrorException;
Segment getSegment(String segmentKey) throws IOException, HttpErrorException;
AllData getAllData() throws IOException, HttpErrorException;
static class AllData {
final Map flags;
final Map segments;
AllData(Map flags, Map segments) {
this.flags = flags;
this.segments = segments;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy