final APresentationPageDefinition pageDef = pageDefs.get(pageId);
if(pageDef == null) {
throw new IllegalArgumentException("no page def with ID '" + pageId + "'");
}
return pageDef.handleRestCall(service, restParams, json);
}
@Override protected boolean handleDynamic(List<String> pathSegments, HttpServletResponse resp) throws IOException {
if(CONFIG_JS.equals(pathSegments.get(0))) {
serveConfig(resp);