@Controller @RequestMapping(value="/plugin/sorta_anonymous") public class SortaServiceAnonymousController extends PluginController
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
URI |
static String |
VIEW_NAME |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
SortaServiceAnonymousController() |
| Modifier and Type | Method and Description |
|---|---|
void |
download(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse response) |
String |
init(org.springframework.ui.Model model) |
String |
match(String ontologyIri,
String inputTerms,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.ui.Model model) |
List<Map<String,Object>> |
matchResult(javax.servlet.http.HttpServletRequest httpServletRequest) |
String |
upload(String ontologyIri,
javax.servlet.http.Part file,
javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.ui.Model model) |
getId, getPluginSettings, getUripublic static final String VIEW_NAME
public static final String ID
public static final String URI
@GetMapping public String init(org.springframework.ui.Model model)
@PostMapping(value="/match") public String match(@RequestParam(value="selectOntologies") String ontologyIri, @RequestParam(value="inputTerms") String inputTerms, javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.ui.Model model) throws IOException
IOException@PostMapping(value="/match/upload") public String upload(@RequestParam(value="selectOntologies") String ontologyIri, @RequestParam(value="file") javax.servlet.http.Part file, javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.ui.Model model) throws IOException
IOException@GetMapping(value="/retrieve") @ResponseBody public List<Map<String,Object>> matchResult(javax.servlet.http.HttpServletRequest httpServletRequest) throws IOException
IOException@GetMapping(value="/download")
public void download(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2017. All rights reserved.