@Controller @RequestMapping(value="/install/load") public class InstallLoadSettingsController extends AbstractController
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
InstallLoadSettingsController() |
Modifier and Type | Method and Description |
---|---|
String |
onConfigurationError(ConfigurationException e) |
void |
post(String config,
javax.servlet.http.HttpServletRequest req) |
getBasePath, getContext, getDatabaseSettingsHandler, getMetaDataHandler, getSettingsManager, parseBoolean, parseBoolean, setContext, toSimpleMap
@ResponseStatus(value=OK) @RequestMapping(method=POST, consumes="application/json") public void post(@RequestBody String config, javax.servlet.http.HttpServletRequest req) throws org.codehaus.jettison.json.JSONException, ConfigurationException
org.codehaus.jettison.json.JSONException
ConfigurationException
@ResponseBody @ExceptionHandler(value=ConfigurationException.class) public String onConfigurationError(ConfigurationException e)
Copyright © 2012-2014 52north.org. All Rights Reserved.