Class WaveformsItemJsonController
java.lang.Object
gov.llnl.gnem.apps.coda.common.application.web.WaveformsItemJsonController
@RestController
@CrossOrigin
@RequestMapping(value="/api/v1/single-waveform",
name="WaveformsItemJsonController",
produces="application/json")
public class WaveformsItemJsonController
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
getWaveform
(Long id) void
setWaveformService
(WaveformService waveformService) org.springframework.http.ResponseEntity<?>
-
Constructor Details
-
WaveformsItemJsonController
-
-
Method Details
-
getWaveform
-
update
@PostMapping(name="update") public org.springframework.http.ResponseEntity<?> update(@Valid @RequestBody @Valid Waveform waveform, org.springframework.validation.BindingResult result) -
delete
@DeleteMapping(name="delete") public org.springframework.http.ResponseEntity<?> delete(@ModelAttribute Waveform waveform) -
getWaveformService
-
setWaveformService
-