Class ProcessesController


  • @RestController
    @RequestMapping("/processes")
    public class ProcessesController
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity log​(java.lang.String id, java.lang.Integer index)  
      org.springframework.http.ResponseEntity state​(java.lang.String id)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProcessesController

        public ProcessesController()
    • 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.IOException
        java.lang.InterruptedException