Package net.oneandone.stool.dashboard
Class ProcessesController
- java.lang.Object
-
- net.oneandone.stool.dashboard.ProcessesController
-
@RestController @RequestMapping("/processes") public class ProcessesController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProcessesController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntitylog(java.lang.String id, java.lang.Integer index)org.springframework.http.ResponseEntitystate(java.lang.String id)
-
-
-
Method Detail
-
state
@RequestMapping(value="{id}", method=GET) @ResponseBody public org.springframework.http.ResponseEntity state(@PathVariable("id") java.lang.String id) throws java.io.IOException- Throws:
java.io.IOException
-
log
@RequestMapping(value="{id}/log", method=GET) @ResponseBody public org.springframework.http.ResponseEntity log(@PathVariable("id") java.lang.String id, @RequestParam(defaultValue="0") java.lang.Integer index) throws java.io.IOException, java.lang.InterruptedException- Throws:
java.io.IOExceptionjava.lang.InterruptedException
-
-