@Controller @RequestMapping(value="/app/rest") public class ProjectResource extends Object
| Constructor and Description |
|---|
ProjectResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<String> |
create(ProjectDTO project,
javax.servlet.http.HttpSession session) |
List<String> |
getDependencies() |
String |
hasProject() |
org.springframework.http.ResponseEntity<String> |
importProject(String path,
javax.servlet.http.HttpSession session) |
org.springframework.http.ResponseEntity<String> |
isValid(String path) |
org.springframework.http.ResponseEntity<String> |
isValidName(String path) |
List<String> |
updateDependencies() |
@RequestMapping(value="/project/new",
method=POST,
produces="text/plain; charset=utf-8")
@ResponseBody
public org.springframework.http.ResponseEntity<String> create(@RequestBody
ProjectDTO project,
javax.servlet.http.HttpSession session)
@RequestMapping(value="/project/valid",
method=POST,
produces="text/plain; charset=utf-8")
@ResponseBody
public org.springframework.http.ResponseEntity<String> isValid(@RequestBody
String path)
throws IOException,
InterruptedException
IOExceptionInterruptedException@RequestMapping(value="/project/valid/name",
method=POST,
produces="text/plain; charset=utf-8")
@ResponseBody
public org.springframework.http.ResponseEntity<String> isValidName(@RequestBody
String path)
throws IOException,
InterruptedException
IOExceptionInterruptedException@RequestMapping(value="/project/import",
method=POST,
produces="text/plain; charset=utf-8")
@ResponseBody
public org.springframework.http.ResponseEntity<String> importProject(@RequestBody
String path,
javax.servlet.http.HttpSession session)
throws IOException
IOException@RequestMapping(value="/project/hasProject",
method=GET,
produces="text/plain; charset=utf-8")
@ResponseBody
public String hasProject()
throws IOException,
InterruptedException
IOExceptionInterruptedException@RequestMapping(value="/project/dependencies",
method=GET)
@ResponseBody
public List<String> getDependencies()
Copyright © 2021 VILT Group. All rights reserved.