public String getScriptPath() { return description.getScriptPath(); }
public String getScriptPath() { return description.getScriptPath(); }
if (statusTemplate == null) Path path = this.container.getRegistry().getPackage(PathImpl.concatPath("/", getDescription().getScriptPath())); statusTemplate = getPackageStatusTemplate(path, statusCode, format); if (statusTemplate == null)
/** * Register a Web Script Package * * @param script WebScript */ private Path registerPackage(WebScript script) { Description desc = script.getDescription(); PathImpl path = packageByPath.get("/"); String[] parts = desc.getScriptPath().split("/"); for (String part : parts) { PathImpl subpath = packageByPath.get(PathImpl.concatPath(path.getPath(), part)); if (subpath == null) { subpath = path.createChildPath(part); packageByPath.put(subpath.getPath(), subpath); } path = subpath; } path.addScript(script); return path; }
/** * Register a Web Script Package * * @param script WebScript */ private Path registerPackage(WebScript script) { Description desc = script.getDescription(); PathImpl path = packageByPath.get("/"); String[] parts = desc.getScriptPath().split("/"); for (String part : parts) { PathImpl subpath = packageByPath.get(PathImpl.concatPath(path.getPath(), part)); if (subpath == null) { subpath = path.createChildPath(part); packageByPath.put(subpath.getPath(), subpath); } path = subpath; } path.addScript(script); return path; }
if (statusTemplate == null) Path path = this.container.getRegistry().getPackage(PathImpl.concatPath("/", getDescription().getScriptPath())); statusTemplate = getPackageStatusTemplate(path, statusCode, format); if (statusTemplate == null)
/** * Register a Web Script Package * * @param script */ private Path registerPackage(WebScript script) { Description desc = script.getDescription(); PathImpl path = packageByPath.get("/"); String[] parts = desc.getScriptPath().split("/"); for (String part : parts) { PathImpl subpath = packageByPath.get(PathImpl.concatPath(path.getPath(), part)); if (subpath == null) { subpath = path.createChildPath(part); packageByPath.put(subpath.getPath(), subpath); } path = subpath; } path.addScript(script); return path; }
if (statusTemplate == null) Path path = this.container.getRegistry().getPackage(PathImpl.concatPath("/", getDescription().getScriptPath())); statusTemplate = getPackageStatusTemplate(path, statusCode, format); if (statusTemplate == null)