Class SitePropertyController


  • @RestController
    public class SitePropertyController
    extends ControllerBase
    • Constructor Detail

      • SitePropertyController

        public SitePropertyController()
    • Method Detail

      • listProperties

        @GetMapping({"/site/{site}/property","/site/{site}/properties"})
        public org.springframework.http.ResponseEntity<Properties> listProperties​(@PathVariable("site")
                                                                                  String site)
      • updateProperties

        @PutMapping("/site/{site}/properties")
        public org.springframework.http.ResponseEntity<Properties> updateProperties​(@PathVariable("site")
                                                                                    String site,
                                                                                    @RequestBody
                                                                                    Properties properties)
      • createProperties

        @PostMapping("/site/{site}/properties")
        public org.springframework.http.ResponseEntity<Properties> createProperties​(@PathVariable("site")
                                                                                    String site,
                                                                                    @RequestBody
                                                                                    Properties properties)
      • deleteProperties

        @DeleteMapping("/site/{site}/properties")
        public org.springframework.http.ResponseEntity<Properties> deleteProperties​(@PathVariable("site")
                                                                                    String site,
                                                                                    @RequestBody
                                                                                    Properties properties)
      • getProperty

        @GetMapping("/site/{site}/property/{prop}")
        public org.springframework.http.ResponseEntity<Property> getProperty​(@PathVariable("site")
                                                                             String site,
                                                                             @PathVariable("prop")
                                                                             String prop)
      • createProperty

        @PostMapping("/site/{site}/property")
        public org.springframework.http.ResponseEntity<Property> createProperty​(@PathVariable("site")
                                                                                String site,
                                                                                @RequestBody
                                                                                Property property)
      • updateProperty

        @PutMapping("/site/{site}/property/{prop}")
        public org.springframework.http.ResponseEntity<Property> updateProperty​(@PathVariable("site")
                                                                                String site,
                                                                                @RequestBody
                                                                                Property property)
      • deleteProperty

        @DeleteMapping("/site/{site}/property/{prop}")
        public org.springframework.http.ResponseEntity<Property> deleteProperty​(@PathVariable("site")
                                                                                String site,
                                                                                @PathVariable("prop")
                                                                                String property)