@RestController public class SitePropertyController extends ControllerBase
Constructor and Description |
---|
SitePropertyController() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Property> |
createProperty(String site,
Property property) |
org.springframework.http.ResponseEntity<Property> |
deleteProperty(String site,
String property) |
org.springframework.http.ResponseEntity<Property> |
getProperty(String site,
String prop) |
org.springframework.http.ResponseEntity<Properties> |
listProperties(String site) |
org.springframework.http.ResponseEntity<Property> |
updateProperty(String site,
Property property) |
getDatabaseStatus, getSharedSecret, onBusinessException
@RequestMapping(value="/site/{site}/property", method=GET) public org.springframework.http.ResponseEntity<Properties> listProperties(@PathVariable(value="site") String site)
@RequestMapping(value="/site/{site}/property/{prop}", method=GET) public org.springframework.http.ResponseEntity<Property> getProperty(@PathVariable(value="site") String site, @PathVariable(value="prop") String prop)
@RequestMapping(value="/site/{site}/property", method=POST) public org.springframework.http.ResponseEntity<Property> createProperty(@PathVariable(value="site") String site, @RequestBody Property property)
@RequestMapping(value="/site/{site}/property/{prop}", method=PUT) public org.springframework.http.ResponseEntity<Property> updateProperty(@PathVariable(value="site") String site, @RequestBody Property property)
Copyright © 2011–2017 aiticon GmbH. All rights reserved.