@RequestMapping(path="/dss/flow/entrance")
@RestController
public class FlowEntranceRestfulApi
extends org.apache.linkis.entrance.restful.EntranceRestfulApi
| 构造器和说明 |
|---|
FlowEntranceRestfulApi() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.linkis.server.Message |
execute(javax.servlet.http.HttpServletRequest req,
Map<String,Object> json)
The execute function handles the request submitted by the user to execute the task, and the execution ID is returned to the user.
|
org.apache.linkis.server.Message |
kill(String id,
Long taskID) |
void |
setEntranceServer(org.apache.linkis.entrance.EntranceServer entranceServer) |
org.apache.linkis.server.Message |
status(String id,
String taskID) |
public void setEntranceServer(org.apache.linkis.entrance.EntranceServer entranceServer)
setEntranceServer 在类中 org.apache.linkis.entrance.restful.EntranceRestfulApi@RequestMapping(value="/execute",
method=POST)
public org.apache.linkis.server.Message execute(javax.servlet.http.HttpServletRequest req,
@RequestBody
Map<String,Object> json)
execute 在接口中 org.apache.linkis.entrance.restful.EntranceRestfulRemoteexecute 在类中 org.apache.linkis.entrance.restful.EntranceRestfulApi@RequestMapping(value="/{id}/status",
method=GET)
public org.apache.linkis.server.Message status(@PathVariable(value="id")
String id,
@RequestParam(required=false,name="taskID")
String taskID)
status 在接口中 org.apache.linkis.entrance.restful.EntranceRestfulRemotestatus 在类中 org.apache.linkis.entrance.restful.EntranceRestfulApi@RequestMapping(path="/{id}/kill",
method=GET)
public org.apache.linkis.server.Message kill(@PathVariable(value="id")
String id,
@RequestParam(value="taskID",required=false)
Long taskID)
kill 在接口中 org.apache.linkis.entrance.restful.EntranceRestfulRemotekill 在类中 org.apache.linkis.entrance.restful.EntranceRestfulApiCopyright © 2022. All rights reserved.