}
@RequestMapping(value = "/{wsName}/{name}", method = RequestMethod.GET)
public @ResponseBody
JSONObj get(@PathVariable String wsName, @PathVariable String name, HttpServletRequest req) {
StoreInfo store = findStore(wsName, name, geoServer.getCatalog());
if (store == null) {
throw new IllegalArgumentException("Store " + wsName + ":" + name + " not found");
}
try {
return storeDetails(new JSONObj(), store,req);