@Controller @RequestMapping(value="/plugin/gaflistimporter") public class GafListImporterController extends MolgenisPluginController
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
URI |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
GafListImporterController(GafListImporterService gafListImporterService) |
| Modifier and Type | Method and Description |
|---|---|
ErrorMessageResponse |
handleThrowable(Throwable t) |
void |
importGafList() |
String |
init() |
getId, getUripublic static final String ID
public static final String URI
@Autowired public GafListImporterController(GafListImporterService gafListImporterService)
@RequestMapping(method=GET) public String init()
@RequestMapping(value="/import",
method=POST)
@ResponseStatus(value=OK)
public void importGafList()
throws IOException,
com.google.gdata.util.ServiceException,
ValueConverterException,
javax.mail.MessagingException
IOExceptioncom.google.gdata.util.ServiceExceptionValueConverterExceptionjavax.mail.MessagingException@ExceptionHandler(value=java.lang.Throwable.class) @ResponseBody @ResponseStatus(value=INTERNAL_SERVER_ERROR) public ErrorMessageResponse handleThrowable(Throwable t)
Copyright © 2014. All Rights Reserved.