@RestController
@RequestMapping(value="/ff4j/store/groups/{groupName}")
public class GroupResource
extends Object
| Constructor and Description |
|---|
GroupResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
disableGroup(String groupName) |
void |
enableGroup(String groupName) |
Collection<FeatureApiBean> |
getFeaturesByGroup(String groupName) |
@RequestMapping(method=GET,
produces="application/json")
public Collection<FeatureApiBean> getFeaturesByGroup(@PathVariable(value="groupName")
String groupName)
@RequestMapping(value="/enable",
method=POST,
produces="application/json")
public void enableGroup(@PathVariable(value="groupName")
String groupName)
@RequestMapping(value="/disable",
method=POST,
produces="application/json")
public void disableGroup(@PathVariable(value="groupName")
String groupName)
Copyright © 2013–2016 FF4J. All rights reserved.