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