@CrossOrigin
@RestController
public class RouteManager
extends java.lang.Object
Constructor | Description |
---|---|
RouteManager() |
Modifier and Type | Method | Description |
---|---|---|
org.springframework.http.ResponseEntity<?> |
addAttribute(OWLDataObject attribute) |
|
org.springframework.http.ResponseEntity<?> |
deleteToken(java.lang.String token) |
|
org.springframework.http.ResponseEntity<?> |
download(java.lang.String token,
DownloadHandler.Formats format) |
|
org.springframework.http.ResponseEntity<?> |
findAttribute(java.lang.String attribute) |
|
org.springframework.http.ResponseEntity<?> |
getCategories() |
|
org.springframework.http.ResponseEntity<?> |
process(java.lang.String token) |
|
org.springframework.http.ResponseEntity<?> |
process(java.lang.String token,
java.util.List<java.lang.String> data) |
|
org.springframework.http.ResponseEntity<?> |
saveActualStateOfFile(ObjectForChangeState changeState) |
|
org.springframework.http.ResponseEntity<?> |
saveFile(java.lang.String token,
RDFContent headers) |
|
org.springframework.http.ResponseEntity<?> |
searchAutocomplete(java.lang.String phrase) |
|
org.springframework.http.ResponseEntity<?> |
sendRDFNames() |
|
org.springframework.http.ResponseEntity<?> |
shareFile(java.lang.String token) |
|
org.springframework.http.ResponseEntity<?> |
sheetNames(java.lang.String token) |
|
org.springframework.http.ResponseEntity<?> |
upload(org.springframework.web.multipart.MultipartFile uploadFile) |
@RequestMapping(value="/upload", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> upload(@RequestParam("uploadFile") org.springframework.web.multipart.MultipartFile uploadFile) throws java.io.IOException
java.io.IOException
@RequestMapping(value="/sheetNames", method=GET, produces="application/json") public org.springframework.http.ResponseEntity<?> sheetNames(@RequestParam("fileToken") java.lang.String token) throws java.io.IOException
java.io.IOException
@RequestMapping(value="/processSingleDocument", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> process(@RequestParam("fileToken") java.lang.String token) throws java.io.IOException
java.io.IOException
@RequestMapping(value="/processMultipleSheets", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> process(@RequestParam("fileToken") java.lang.String token, @RequestBody java.util.List<java.lang.String> data) throws java.io.IOException
java.io.IOException
@RequestMapping(value="/savefile", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> saveFile(@RequestParam("token") java.lang.String token, @RequestBody RDFContent headers) throws java.io.IOException
java.io.IOException
@RequestMapping(value="/deleteToken", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> deleteToken(@RequestParam("token") java.lang.String token)
@RequestMapping(value="/download", method=GET, produces="application/*") public org.springframework.http.ResponseEntity<?> download(@RequestParam("token") java.lang.String token, @RequestParam("format") DownloadHandler.Formats format) throws java.lang.ClassNotFoundException, java.io.IOException
java.lang.ClassNotFoundException
java.io.IOException
@RequestMapping(value="/findAttribute", method=GET, produces="application/json") public org.springframework.http.ResponseEntity<?> findAttribute(@RequestParam("attribute") java.lang.String attribute) throws java.net.UnknownHostException
java.net.UnknownHostException
@RequestMapping(value="/searchAutocomplete", method=GET, produces="application/json") public org.springframework.http.ResponseEntity<?> searchAutocomplete(@RequestParam("phrase") java.lang.String phrase) throws java.net.UnknownHostException
java.net.UnknownHostException
@RequestMapping(value="/addAttribute", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> addAttribute(@RequestBody OWLDataObject attribute) throws java.io.IOException
java.io.IOException
@RequestMapping(value="/getCategories", method=GET, produces="application/json") public org.springframework.http.ResponseEntity<?> getCategories() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, java.net.UnknownHostException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
java.net.UnknownHostException
@RequestMapping(value="/saveActualStateOfFile", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> saveActualStateOfFile(@RequestBody ObjectForChangeState changeState) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
@RequestMapping(value="/shareFile", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<?> shareFile(@RequestParam("token") java.lang.String token) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
@RequestMapping(value="/getEntities", method=GET, produces="application/json") public org.springframework.http.ResponseEntity<?> sendRDFNames() throws java.io.IOException
java.io.IOException