Class FlightRecorderEndpoint
java.lang.Object
de.mirkosertic.flightrecorderstarter.actuator.FlightRecorderEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>deleteRecording(long recordingId) org.springframework.http.ResponseEntity<?>downloadRecording(long recordingId) org.springframework.http.ResponseEntity<?>startRecording(StartRecordingCommand command) org.springframework.http.ResponseEntity<?>stopRecording(long recordingId)
-
Constructor Details
-
FlightRecorderEndpoint
-
-
Method Details
-
allSessions
@GetMapping("/") public org.springframework.http.ResponseEntity<?> allSessions() -
startRecording
@PostMapping("/") public org.springframework.http.ResponseEntity<?> startRecording(@RequestBody StartRecordingCommand command) -
stopRecording
@PutMapping("/{recordingId}") public org.springframework.http.ResponseEntity<?> stopRecording(@Selector @PathVariable long recordingId) -
deleteRecording
@DeleteMapping("/{recordingId}") public org.springframework.http.ResponseEntity<?> deleteRecording(@Selector @PathVariable long recordingId) -
downloadRecording
@GetMapping("/{recordingId}") public org.springframework.http.ResponseEntity<?> downloadRecording(@Selector @PathVariable long recordingId)
-