(String ext)
| 196 | } |
| 197 | |
| 198 | private Object getExt(String ext) { |
| 199 | if (!cat) return Json.isObj(ext) ? ctx.parse(ext) : ext; |
| 200 | JSObject obj = ctx.createNewJSObject(); |
| 201 | obj.setProperty("stype", 3); |
| 202 | obj.setProperty("skey", siteKey); |
| 203 | if (!Json.isObj(ext)) obj.setProperty("ext", ext); |
| 204 | else obj.setProperty("ext", (JSObject) ctx.parse(ext)); |
| 205 | return obj; |
| 206 | } |
| 207 | |
| 208 | private Object[] proxy1(Map<String, String> params) throws Exception { |
| 209 | JSObject obj = submit(() -> JSUtil.toObject(ctx, params)).get(); |
no test coverage detected