-
- All Implemented Interfaces:
@RestController()@RequestMapping(value = {"/api/ff4j/propertyStore/properties/{name}"}) public final class PropertyResourceCreated by Paul
-
-
Field Summary
Fields Modifier and Type Field Description private final PropertyServicespropertyServices
-
Constructor Summary
Constructors Constructor Description PropertyResource(PropertyServices propertyServices)
-
Method Summary
Modifier and Type Method Description final PropertyServicesgetPropertyServices()final PropertyApiBeangetProperty(@PathVariable(value = "name") String propertyName)final ResponseEntity<?>createOrUpdateProperty(@PathVariable(value = "name") String propertyName, @RequestBody() PropertyApiBean propertyApiBean)final ResponseEntity<Object>deleteProperty(@PathVariable(value = "name") String propertyName)final ResponseEntity<Object>updatePropertyName(@PathVariable(value = "name") String propertyName, @PathVariable(value = "value") String newPropertyName)-
-
Method Detail
-
getPropertyServices
final PropertyServices getPropertyServices()
-
getProperty
@GetMapping(produces = {"application/json"}) final PropertyApiBean getProperty(@PathVariable(value = "name") String propertyName)
-
createOrUpdateProperty
@PutMapping(produces = {"application/json"}) final ResponseEntity<?> createOrUpdateProperty(@PathVariable(value = "name") String propertyName, @RequestBody() PropertyApiBean propertyApiBean)
-
deleteProperty
@DeleteMapping(produces = {"application/json"}) final ResponseEntity<Object> deleteProperty(@PathVariable(value = "name") String propertyName)
-
updatePropertyName
@PostMapping(value = {"/update/{value}"}, produces = {"application/json"}) final ResponseEntity<Object> updatePropertyName(@PathVariable(value = "name") String propertyName, @PathVariable(value = "value") String newPropertyName)
-
-
-
-