@RestController
@RequestMapping(value="/ff4j/propertyStore/properties/{name}")
public class PropertyResource
extends Object
| Constructor and Description |
|---|
PropertyResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
createOrUpdateProperty(String propertyName,
PropertyApiBean propertyApiBean) |
org.springframework.http.ResponseEntity |
deleteProperty(String propertyName) |
PropertyApiBean |
getProperty(String propertyName) |
org.springframework.http.ResponseEntity |
updatePropertyName(String propertyName,
String newPropertyName) |
@RequestMapping(method=GET,
produces="application/json")
public PropertyApiBean getProperty(@PathVariable(value="name")
String propertyName)
@RequestMapping(method=PUT,
produces="application/json")
public org.springframework.http.ResponseEntity createOrUpdateProperty(@PathVariable(value="name")
String propertyName,
@RequestBody
PropertyApiBean propertyApiBean)
@RequestMapping(method=DELETE,
produces="application/json")
public org.springframework.http.ResponseEntity deleteProperty(@PathVariable(value="name")
String propertyName)
Copyright © 2013–2016 FF4J. All rights reserved.