@Controller public class RestfulController extends Object
Constructor and Description |
---|
RestfulController() |
Modifier and Type | Method and Description |
---|---|
ModelAndView |
doGlueServiceDelete(String serviceName) |
ModelAndView |
doGlueServiceDeletetByData(String serviceName,
String gluedata) |
ModelAndView |
doGlueServiceGet(String serviceName) |
ModelAndView |
doGlueServiceGetByData(String serviceName,
String gluedata) |
ModelAndView |
doGlueServicePost(String serviceName,
Map<String,Object> params) |
ModelAndView |
doGlueServicePostByData(String serviceName,
String gluedata,
Map<String,Object> params) |
ModelAndView |
doGlueServicePut(String serviceName,
MultiValueMap<String,String> params) |
ModelAndView |
doGlueServicePutByData(String serviceName,
String gluedata,
MultiValueMap<String,String> params) |
@RequestMapping(value="/glue/{serviceName}", method=GET) public ModelAndView doGlueServiceGet(@PathVariable String serviceName)
serviceName
- @RequestMapping(value="/glue/{serviceName}/data/{gluedata}", method=GET) public ModelAndView doGlueServiceGetByData(@PathVariable String serviceName, @PathVariable String gluedata)
serviceName
- gluedata
- @RequestMapping(value="/glue/{serviceName}", method=DELETE) public ModelAndView doGlueServiceDelete(@PathVariable String serviceName)
serviceName
- @RequestMapping(value="/glue/{serviceName}/data/{gluedata}", method=DELETE) public ModelAndView doGlueServiceDeletetByData(@PathVariable String serviceName, @PathVariable String gluedata)
serviceName
- gluedata
- @RequestMapping(value="/glue/{serviceName}", method=POST) public ModelAndView doGlueServicePost(@PathVariable String serviceName, @RequestParam Map<String,Object> params)
serviceName
- params
- @RequestMapping(value="/glue/{serviceName}/data/{gluedata}", method=POST) public ModelAndView doGlueServicePostByData(@PathVariable String serviceName, @PathVariable String gluedata, @RequestParam Map<String,Object> params)
serviceName
- gluedata
- params
- @RequestMapping(value="/glue/{serviceName}", method=PUT) public ModelAndView doGlueServicePut(@PathVariable String serviceName, @RequestBody MultiValueMap<String,String> params)
serviceName
- params
- @RequestMapping(value="/glue/{serviceName}/data/{gluedata}", method=PUT) public ModelAndView doGlueServicePutByData(@PathVariable String serviceName, @PathVariable String gluedata, @RequestBody MultiValueMap<String,String> params)
serviceName
- gluedata
- params
- Copyright © 2013–2016 POSCO ICT. All rights reserved.