200201202203204205206207208
} @Action("param-annotation-ints") public View paramAnnotationTest8(@Param("p1") int[] p1) { return new HTMLPage() .withH2Content("index/param-annotation-ints " + p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]); }
208209210211212213214215216
} @Action("param-annotation-strings") public View paramAnnotationTest9(@Param("p1") String[] p1) { return new HTMLPage() .withH2Content("index/param-annotation-strings " + p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]); }
216217218219220221222223224
} @Action("param-annotation-doubles") public View paramAnnotationTest10(@Param("p1") double[] p1) { return new HTMLPage() .withH2Content("index/param-annotation-doubles " + p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]); }
224225226227228229230231232
} @Action("param-annotation-bigdecimals") public View paramAnnotationTestBigDecimals(@Param("p1") BigDecimal[] p1) { return new HTMLPage() .withH2Content("index/param-annotation-bigdecimals " + p1[0] + ", " + p1[1] + ", " + p1[2] + ", " + p1[3]); }
1482148314841485148614871488
@StatelessController private static class TestHttpMethodController { @GETAction public View getAction() { return new HTMLPage(); }
1487148814891490149114921493
return new HTMLPage(); } @POSTAction public View postAction() { return new HTMLPage(); }
1492149314941495149614971498
return new HTMLPage(); } @PUTAction public View putAction() { return new HTMLPage(); }
1497149814991500150115021503
return new HTMLPage(); } @DELETEAction public View deleteAction() { return new HTMLPage(); }
1502150315041505150615071508
return new HTMLPage(); } @OPTIONSAction public View optionsAction() { return new HTMLPage(); }
1507150815091510151115121513
return new HTMLPage(); } @TRACEAction public View traceAction() { return new HTMLPage(); }