@RestController @RequestMapping(value="/ff4j/store") public class FeatureStoreResource extends Object
| Constructor and Description |
|---|
FeatureStoreResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
clearCachedFeatureStore() |
org.springframework.http.ResponseEntity |
deleteAllFeatures() |
Collection<FeatureApiBean> |
getAllFeatures() |
Collection<GroupDescApiBean> |
getAllGroups() |
CacheApiBean |
getFeaturesFromCache() |
FeatureStoreApiBean |
getFeatureStore() |
@RequestMapping(method=GET,
produces="application/json")
public FeatureStoreApiBean getFeatureStore()
@RequestMapping(value="/features",
method=GET,
produces="application/json")
public Collection<FeatureApiBean> getAllFeatures()
@RequestMapping(value="/groups",
method=GET,
produces="application/json")
public Collection<GroupDescApiBean> getAllGroups()
@RequestMapping(value="/clear",
method=DELETE)
public org.springframework.http.ResponseEntity deleteAllFeatures()
@RequestMapping(value="/cache",
method=GET,
produces="application/json")
public CacheApiBean getFeaturesFromCache()
@RequestMapping(value="//clearCache",
method=DELETE)
public org.springframework.http.ResponseEntity clearCachedFeatureStore()
Copyright © 2013–2016 FF4J. All rights reserved.