(Map<String, String> params)
| 14 | private static int port; |
| 15 | |
| 16 | public static Object[] proxy(Map<String, String> params) { |
| 17 | if ("ck".equals(params.get("do"))) return new Object[]{200, "text/plain; charset=utf-8", new ByteArrayInputStream("ok".getBytes(StandardCharsets.UTF_8))}; |
| 18 | return null; |
| 19 | } |
| 20 | |
| 21 | public static void init() { |
| 22 | try { |