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(); }
1512151315141515151615171518
return new HTMLPage(); } @HEADAction public View headAction() { return new HTMLPage(); }
1522152315241525152615271528
@StatelessController private static class TestInvalidController1 { @Action("test") public View testAction() { return new HTMLPage(); }