Class DarkFeatureUserResource
- java.lang.Object
-
- com.atlassian.confluence.darkfeatures.rest.DarkFeatureUserResource
-
public class DarkFeatureUserResource extends Object
A REST resource that will enable, disable and report the status of a dark feature for the currently authenticated user
-
-
Constructor Summary
Constructors Constructor Description DarkFeatureUserResource(DarkFeaturesManager darkFeaturesManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.Response
disableFeatures(String featureKeys)
javax.ws.rs.core.Response
enableFeatures(String featureKeys)
Deprecated.since 5.6.javax.ws.rs.core.Response
enableFeatures(String[] featureKeys)
javax.ws.rs.core.Response
getFeature(String featureKey)
-
-
-
Constructor Detail
-
DarkFeatureUserResource
public DarkFeatureUserResource(DarkFeaturesManager darkFeaturesManager)
-
-
Method Detail
-
enableFeatures
public javax.ws.rs.core.Response enableFeatures(String[] featureKeys) throws UnknownFeatureException
- Throws:
UnknownFeatureException
-
enableFeatures
@Deprecated public javax.ws.rs.core.Response enableFeatures(String featureKeys) throws UnknownFeatureException
Deprecated.since 5.6. Use the POST.- Throws:
UnknownFeatureException
-
disableFeatures
public javax.ws.rs.core.Response disableFeatures(String featureKeys) throws UnknownFeatureException
- Throws:
UnknownFeatureException
-
getFeature
public javax.ws.rs.core.Response getFeature(String featureKey)
-
-